VirtualBox

Changeset 50081 in vbox for trunk


Ignore:
Timestamp:
Jan 15, 2014 12:45:30 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
91601
Message:

FE/Qt: Reverting r90988, r90825, 90818: That was the stuff for xTracker defect #7112 which we decided to revert.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/selector
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp

    r49705 r50081  
    6666# include "UIWindowMenuManager.h"
    6767# include "UIImageTools.h"
    68 # include "UICocoaApplication.h"
    6968#endif /* Q_WS_MAC */
    7069
     
    336335void UISelectorWindow::sltPerformExit()
    337336{
    338     QApplication::quit();
     337    close();
    339338}
    340339
     
    10571056
    10581057#ifdef Q_WS_MAC
    1059 /** MacOS X host: Hides VM selector UI instead of closing. */
    1060 void UISelectorWindow::closeEvent(QCloseEvent *pEvent)
    1061 {
    1062     pEvent->ignore();
    1063     UICocoaApplication::instance()->hide();
    1064 }
    1065 
    10661058bool UISelectorWindow::eventFilter(QObject *pObject, QEvent *pEvent)
    10671059{
    1068     /* If we got broadcast qApp close-event, quit app.. */
    1069     if (pObject == qApp && pEvent->type() == QEvent::Close)
    1070         return true;
    1071 
    10721060    /* Ignore for non-active window: */
    10731061    if (!isActiveWindow())
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.h

    r49602 r50081  
    111111    void polishEvent(QShowEvent *pEvent);
    112112#ifdef Q_WS_MAC
    113     void closeEvent(QCloseEvent *pEvent);
    114113    bool eventFilter(QObject *pObject, QEvent *pEvent);
    115114#endif /* 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