Changeset 27174 in vbox
- Timestamp:
- Mar 8, 2010 4:00:40 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 58518
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineWindowNormal.cpp
r27130 r27174 479 479 /* Load extra-data settings: */ 480 480 { 481 QString strPositionSettings = machine.GetExtraData(VBoxDefs::GUI_LastWindowPosition); 481 QString strPositionAddress = m_uScreenId == 0 ? QString("%1").arg(VBoxDefs::GUI_LastWindowPosition) : 482 QString("%1%2").arg(VBoxDefs::GUI_LastWindowPosition).arg(m_uScreenId); 483 QString strPositionSettings = machine.GetExtraData(strPositionAddress); 482 484 483 485 bool ok = false, max = false; … … 558 560 if (isMaximized()) 559 561 strWindowPosition += QString(",%1").arg(VBoxDefs::GUI_LastWindowPosition_Max); 560 machine.SetExtraData(VBoxDefs::GUI_LastWindowPosition, strWindowPosition); 562 QString strPositionAddress = m_uScreenId == 0 ? QString("%1").arg(VBoxDefs::GUI_LastWindowPosition) : 563 QString("%1%2").arg(VBoxDefs::GUI_LastWindowPosition).arg(m_uScreenId); 564 machine.SetExtraData(strPositionAddress, strWindowPosition); 561 565 } 562 566 }
Note:
See TracChangeset
for help on using the changeset viewer.