VirtualBox

Ignore:
Timestamp:
May 19, 2011 9:19:53 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
71825
Message:

FE/Qt4-Custom: don't resize the GUI window on guest resize

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineViewNormal.cpp

    r32174 r37148  
    321321void UIMachineViewNormal::normalizeGeometry(bool bAdjustPosition)
    322322{
     323#ifndef VBOX_GUI_WITH_CUSTOMIZATIONS1
    323324    QWidget *pTopLevelWidget = window();
    324325
     
    365366    /* Finally, set the frame geometry */
    366367    pTopLevelWidget->setGeometry(frameGeo.left() + dl, frameGeo.top() + dt, frameGeo.width() - dl - dr, frameGeo.height() - dt - db);
     368
     369#else /* !VBOX_GUI_WITH_CUSTOMIZATIONS1 */
     370    Q_UNUSED(bAdjustPosition);
     371#endif /* VBOX_GUI_WITH_CUSTOMIZATIONS1 */
    367372}
    368373
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette