Changeset 52509 in vbox for trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineWindowFullscreen.cpp
- Timestamp:
- Aug 28, 2014 11:31:23 AM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 95745
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineWindowFullscreen.cpp
r52382 r52509 203 203 darwinEnableTransienceSupport(this); 204 204 /* Register to native fullscreen notifications: */ 205 UICocoaApplication::instance()->registerToN ativeNotification("NSWindowWillEnterFullScreenNotification", this,206 UIMachineWindow::handleNativeNotification);207 UICocoaApplication::instance()->registerToN ativeNotification("NSWindowDidEnterFullScreenNotification", this,208 UIMachineWindow::handleNativeNotification);209 UICocoaApplication::instance()->registerToN ativeNotification("NSWindowWillExitFullScreenNotification", this,210 UIMachineWindow::handleNativeNotification);211 UICocoaApplication::instance()->registerToN ativeNotification("NSWindowDidExitFullScreenNotification", this,212 UIMachineWindow::handleNativeNotification);213 UICocoaApplication::instance()->registerToN ativeNotification("NSWindowDidFailToEnterFullScreenNotification", this,214 UIMachineWindow::handleNativeNotification);205 UICocoaApplication::instance()->registerToNotificationOfWindow("NSWindowWillEnterFullScreenNotification", this, 206 UIMachineWindow::handleNativeNotification); 207 UICocoaApplication::instance()->registerToNotificationOfWindow("NSWindowDidEnterFullScreenNotification", this, 208 UIMachineWindow::handleNativeNotification); 209 UICocoaApplication::instance()->registerToNotificationOfWindow("NSWindowWillExitFullScreenNotification", this, 210 UIMachineWindow::handleNativeNotification); 211 UICocoaApplication::instance()->registerToNotificationOfWindow("NSWindowDidExitFullScreenNotification", this, 212 UIMachineWindow::handleNativeNotification); 213 UICocoaApplication::instance()->registerToNotificationOfWindow("NSWindowDidFailToEnterFullScreenNotification", this, 214 UIMachineWindow::handleNativeNotification); 215 215 } 216 216 #endif /* Q_WS_MAC */ … … 259 259 { 260 260 /* Unregister from native fullscreen notifications: */ 261 UICocoaApplication::instance()->unregisterFromN ativeNotification("NSWindowWillEnterFullScreenNotification", this);262 UICocoaApplication::instance()->unregisterFromN ativeNotification("NSWindowDidEnterFullScreenNotification", this);263 UICocoaApplication::instance()->unregisterFromN ativeNotification("NSWindowWillExitFullScreenNotification", this);264 UICocoaApplication::instance()->unregisterFromN ativeNotification("NSWindowDidExitFullScreenNotification", this);265 UICocoaApplication::instance()->unregisterFromN ativeNotification("NSWindowDidFailToEnterFullScreenNotification", this);261 UICocoaApplication::instance()->unregisterFromNotificationOfWindow("NSWindowWillEnterFullScreenNotification", this); 262 UICocoaApplication::instance()->unregisterFromNotificationOfWindow("NSWindowDidEnterFullScreenNotification", this); 263 UICocoaApplication::instance()->unregisterFromNotificationOfWindow("NSWindowWillExitFullScreenNotification", this); 264 UICocoaApplication::instance()->unregisterFromNotificationOfWindow("NSWindowDidExitFullScreenNotification", this); 265 UICocoaApplication::instance()->unregisterFromNotificationOfWindow("NSWindowDidFailToEnterFullScreenNotification", this); 266 266 } 267 267 #endif /* Q_WS_MAC */
Note:
See TracChangeset
for help on using the changeset viewer.