VirtualBox

Changeset 52057 in vbox


Ignore:
Timestamp:
Jul 16, 2014 5:23:26 PM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: 3646: Status-bar Editor: #ifdef some Mac OS X specific code.

File:
1 edited

Legend:

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

    r52056 r52057  
    290290    void sltParentGeometryChanged(const QRect &rect);
    291291
    292     /** Handles 3D overlay visibility change. */
    293     void sltHandle3DOverlayVisibilityChange();
    294 
    295292    /** Handles configuration change. */
    296293    void sltHandleConfigurationChange();
     
    301298    /** Handles drag object destroy. */
    302299    void sltHandleDragObjectDestroy();
     300
     301#ifdef Q_WS_MAC
     302    /** Performs window activation. */
     303    void sltActivateWindow() { activateWindow(); }
     304#endif /* Q_WS_MAC */
    303305
    304306private:
     
    420422    /* Adjust geometry: */
    421423    adjustGeometry();
    422 }
    423 
    424 void UIStatusBarEditorWindow::sltHandle3DOverlayVisibilityChange()
    425 {
    426     /* Reactivate window when 3D overlay covered us: */
    427     activateWindow();
    428424}
    429425
     
    984980        connect(this, SIGNAL(sigGeometryChange(const QRect&)),
    985981                pStatusBarEditor, SLOT(sltParentGeometryChanged(const QRect&)));
    986         connect(machineLogic(), SIGNAL(sigNotifyAbout3DOverlayVisibilityChange(bool)),
    987                 pStatusBarEditor, SLOT(sltHandle3DOverlayVisibilityChange()));
    988982        connect(pStatusBarEditor, SIGNAL(destroyed(QObject*)),
    989983                this, SLOT(sltStatusBarEditorWindowClosed()));
     984#ifdef Q_WS_MAC
     985        connect(machineLogic(), SIGNAL(sigNotifyAbout3DOverlayVisibilityChange(bool)),
     986                pStatusBarEditor, SLOT(sltActivateWindow()));
     987#endif /* Q_WS_MAC */
    990988        /* Show window: */
    991989        pStatusBarEditor->show();
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