Changeset 30014 in vbox
- Timestamp:
- Jun 3, 2010 2:51:57 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 62336
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineWindowNormal.cpp
r29734 r30014 541 541 if (ok /* if previous parameters were read correctly */) 542 542 { 543 m_normalGeometry = QRect(x, y, w, h); 544 setGeometry(m_normalGeometry); 543 if (machine.GetState() == KMachineState_Saved) 544 { 545 /* restore from a saved state: restore window size and position */ 546 m_normalGeometry = QRect(x, y, w, h); 547 setGeometry(m_normalGeometry); 548 } 549 else 550 { 551 /* not restored from a saved state: restore only the last position */ 552 move(x, y); 553 if (machineView()) 554 machineView()->normalizeGeometry(false /* adjust position? */); 555 556 } 545 557 546 558 /* Maximize if needed: */
Note:
See TracChangeset
for help on using the changeset viewer.