Changeset 78034 in vbox
- Timestamp:
- Apr 8, 2019 10:51:51 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerTable.cpp
r78026 r78034 304 304 { 305 305 m_pBreadCrumbs->setIndent(0.5 * qApp->style()->pixelMetric(QStyle::PM_LayoutLeftMargin)); 306 307 306 connect(m_pBreadCrumbs, &UIFileManagerBreadCrumbs::linkActivated, 308 307 this, &UIFileManagerNavigationWidget::sigPathChanged); … … 322 321 if (m_pSwitchButton) 323 322 { 324 325 323 QStyle *pStyle = QApplication::style(); 326 324 QIcon buttonIcon; … … 330 328 m_pSwitchButton->setIcon(buttonIcon); 331 329 } 332 333 330 pLayout->addWidget(m_pSwitchButton); 334 331 connect(m_pSwitchButton, &QToolButton::clicked, … … 375 372 setFrameShape(QFrame::Box); 376 373 setLineWidth(1); 377 //setFixedHeight(10);378 374 setAutoFillBackground(true); 379 375 QPalette newPalette = palette(); 380 376 newPalette.setColor(QPalette::Background, qApp->palette().color(QPalette::Light)); 381 382 377 setPalette(newPalette); 383 378 /* Allow the labe become smaller than the current text. calling setpath in resizeEvent truncated the text anyway: */ … … 710 705 m_pToolBar = new UIToolBar; 711 706 if (m_pToolBar) 712 {713 707 m_pMainLayout->addWidget(m_pToolBar, 0, 0, 1, 7); 714 }715 708 716 709 m_pLocationLabel = new QILabel;
Note:
See TracChangeset
for help on using the changeset viewer.

