Changeset 49602 in vbox
- Timestamp:
- Nov 21, 2013 2:19:49 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 90818
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/selector
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp
r49596 r49602 66 66 # include "UIWindowMenuManager.h" 67 67 # include "UIImageTools.h" 68 # include "UICocoaApplication.h" 68 69 #endif /* Q_WS_MAC */ 69 70 … … 335 336 void UISelectorWindow::sltPerformExit() 336 337 { 337 close();338 QApplication::quit(); 338 339 } 339 340 … … 1056 1057 1057 1058 #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 1058 1066 bool UISelectorWindow::eventFilter(QObject *pObject, QEvent *pEvent) 1059 1067 { -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.h
r49596 r49602 111 111 void polishEvent(QShowEvent *pEvent); 112 112 #ifdef Q_WS_MAC 113 void closeEvent(QCloseEvent *pEvent); 113 114 bool eventFilter(QObject *pObject, QEvent *pEvent); 114 115 #endif /* Q_WS_MAC */
Note:
See TracChangeset
for help on using the changeset viewer.