VirtualBox

Changeset 53872 in vbox


Ignore:
Timestamp:
Jan 20, 2015 5:01:23 PM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: 3635: Scaling mode support: Mac OS X: No keep-aspect-ratio technique for now. It doesn't work on latest OSes and doesn required since Quartz2D f/b removed.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/runtime/scale
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/scale/UIMachineWindowScale.cpp

    r53068 r53872  
    6565    UIMachineWindow::prepareVisualState();
    6666
    67     /* Install the resize delegate for keeping the aspect ratio. */
    68     ::darwinInstallResizeDelegate(this);
    6967    /* Beta label? */
    7068    if (vboxGlobal().isBeta())
     
    128126    UIMachineWindow::saveSettings();
    129127}
    130 
    131 #ifdef Q_WS_MAC
    132 void UIMachineWindowScale::cleanupVisualState()
    133 {
    134     /* Uninstall the resize delegate for keeping the aspect ratio. */
    135     ::darwinUninstallResizeDelegate(this);
    136 
    137     /* Call to base-class: */
    138     UIMachineWindow::cleanupVisualState();
    139 }
    140 #endif /* Q_WS_MAC */
    141128
    142129void UIMachineWindowScale::showInNecessaryMode()
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/scale/UIMachineWindowScale.h

    r52727 r53872  
    4343    void saveSettings();
    4444#ifdef Q_WS_MAC
    45     void cleanupVisualState();
     45    //void cleanupVisualState() {}
    4646#endif /* Q_WS_MAC */
    4747    //void cleanupMainLayout() {}
Note: See TracChangeset for help on using the changeset viewer.

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