Changeset 10811 in vbox for trunk/src/VBox/Frontends/VirtualBox4
- Timestamp:
- Jul 22, 2008 1:33:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxSettingsDialog.cpp
r10776 r10811 339 339 mPolished = true; 340 340 341 int minWidth = mSelector->minWidth(); 341 342 #ifdef Q_WS_MAC 342 343 /* Set all size policies to ignored */ … … 349 350 mStack->setCurrentIndex (i); 350 351 layout()->activate(); 351 mSizeList.insert (0, minimumSize()); 352 QSize s = minimumSize(); 353 if (minWidth > s.width()) 354 s.setWidth (minWidth); 355 mSizeList.insert (0, s); 352 356 mStack->widget (i)->setSizePolicy (QSizePolicy::Preferred, QSizePolicy::Ignored); 353 357 } … … 356 360 #else /* Q_WS_MAC */ 357 361 /* Resize to the minimum possible size */ 358 int minWidth = mSelector->minWidth();359 362 QSize s = minimumSize(); 360 363 if (minWidth > s.width())
Note:
See TracChangeset
for help on using the changeset viewer.