Changeset 34562 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Dec 1, 2010 11:34:10 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsNetwork.cpp
r34162 r34562 198 198 /* Apply UI decorations: */ 199 199 Ui::UIGlobalSettingsNetwork::setupUi (this); 200 201 #ifdef Q_WS_MAC202 /* Make shifting spacer for MAC as we have fixed-size networks list: */203 QSpacerItem *pShiftSpacer = new QSpacerItem(0, 1, QSizePolicy::Expanding, QSizePolicy::Preferred);204 m_pLayout1->addItem(pShiftSpacer);205 #endif /* Q_WS_MAC */206 200 207 201 /* Setup tree-widget: */ … … 307 301 m_pInterfacesTree->setCurrentItem(m_pInterfacesTree->topLevelItem(0)); 308 302 sltUpdateCurrentItem(); 309 #ifdef Q_WS_MAC310 int width = qMax(static_cast<QAbstractItemView*>(m_pInterfacesTree)->sizeHintForColumn(0) +311 2 * m_pInterfacesTree->frameWidth() + QApplication::style()->pixelMetric(QStyle::PM_ScrollBarExtent),312 220);313 m_pInterfacesTree->setFixedWidth(width);314 m_pInterfacesTree->resizeColumnToContents(0);315 #endif /* Q_WS_MAC */316 303 } 317 304 … … 364 351 progress.WaitForCompletion(-1); 365 352 // TODO: Fix problem reporter! 366 //vboxProblem().showModalProgressDialog(progress, tr("Performing", "creating/removing host-only network"), this);353 //vboxProblem().showModalProgressDialog(progress, tr("Performing", "creating/removing host-only network"), "", this); 367 354 if (progress.GetResultCode() != 0) 368 355 // TODO: Fix problem reporter! … … 387 374 { 388 375 // TODO: Fix problem reporter! 389 //vboxProblem().showModalProgressDialog(progress, tr("Performing", "creating/removing host-only network"), this);376 //vboxProblem().showModalProgressDialog(progress, tr("Performing", "creating/removing host-only network"), "", this); 390 377 progress.WaitForCompletion(-1); 391 378 if (progress.GetResultCode() == 0)
Note:
See TracChangeset
for help on using the changeset viewer.