VirtualBox

Changeset 27064 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 5, 2010 10:05:45 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
58381
Message:

FE/Qt4: new core: Mac fixes for r58372

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineWindowFullscreen.cpp

    r27058 r27064  
    6565    prepareMachineView();
    6666
    67 #ifdef Q_WS_MAC
    68     /* Load normal window settings: */
    69     loadWindowSettings();
    70 #endif /* Q_WS_MAC */
    71 
    7267    /* Update all the elements: */
    7368    updateAppearanceOf(UIVisualElement_AllStuff);
     
    7570    /* Show window: */
    7671    showFullScreen();
     72
     73#ifdef Q_WS_MAC
     74    /* Make sure it is really on the right place (especially on the Mac) */
     75    move(0, 0);
     76#endif /* Q_WS_MAC */
    7777}
    7878
     
    172172}
    173173
    174 #ifdef Q_WS_MAC
    175 void UIMachineWindowFullscreen::loadWindowSettings()
    176 {
    177     /* Load global settings: */
    178     {
    179         VBoxGlobalSettings settings = vboxGlobal().settings();
    180         menuBar()->setHidden(settings.isFeatureActive("noMenuBar"));
    181     }
    182 }
    183 #endif
    184 
    185174void UIMachineWindowFullscreen::cleanupMachineView()
    186175{
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineWindowFullscreen.h

    r27057 r27064  
    6666#endif /* Q_WS_MAC */
    6767    void prepareMachineView();
    68 #ifdef Q_WS_MAC
    69     void loadWindowSettings();
    70 #endif /* Q_WS_MAC */
    7168
    7269    /* Cleanup helpers: */
    73 #ifdef Q_WS_MAC
    7470    //void saveWindowSettings() {}
    75 #endif /* Q_WS_MAC */
    7671    void cleanupMachineView();
    7772#ifdef Q_WS_MAC
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