Changeset 28239 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Apr 13, 2010 9:54:22 AM (15 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.h
r27684 r28239 172 172 virtual void sltMouseCapturedStatusChanged(); 173 173 174 /* Various helper slots: */ 175 virtual void sltNormalizeGeometry() { normalizeGeometry(true); } 176 174 177 private: 175 178 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineWindowNormal.cpp
r28020 r28239 527 527 setGeometry(m_normalGeometry); 528 528 529 /* Normalize view to the optimal size */530 if (machineView())531 machineView()->normalizeGeometry(true /* adjust position? */);532 533 529 /* Maximize if needed: */ 534 530 if (max) … … 537 533 else 538 534 { 539 /* Normalize to the optimal size*/535 /* Normalize view early to the optimal size: */ 540 536 if (machineView()) 541 537 machineView()->normalizeGeometry(true /* adjust position? */); … … 546 542 setGeometry(m_normalGeometry); 547 543 } 544 545 /* Normalize view to the optimal size: */ 546 if (machineView()) 547 QTimer::singleShot(0, machineView(), SLOT(sltNormalizeGeometry())); 548 548 } 549 549
Note:
See TracChangeset
for help on using the changeset viewer.