Fixed "control reaches end of non-void function" warning

preferencesAboutTextFull
Cédric Luthi 14 years ago
parent 07f111bef2
commit 92decee422
  1. 3
      src/frameworks/UBPlatformUtils_mac.mm

@ -26,6 +26,7 @@ OSStatus emptySetSystemUIMode (
Q_UNUSED(inMode); Q_UNUSED(inMode);
Q_UNUSED(inOptions); Q_UNUSED(inOptions);
// NOOP // NOOP
return noErr;
} }
void *originalSetSystemUIMode = 0; void *originalSetSystemUIMode = 0;
@ -34,7 +35,7 @@ void UBPlatformUtils::init()
{ {
initializeKeyboardLayouts(); initializeKeyboardLayouts();
// qwidget_mac.mm qt_mac_set_fullscreen_mode uses kUIModeAllSuppressed with is unfortunate in our case // qwidget_mac.mm qt_mac_set_fullscreen_mode uses kUIModeAllSuppressed which is unfortunate in our case
// //
// http://developer.apple.com/mac/library/documentation/Carbon/Reference/Dock_Manager/Reference/reference.html#//apple_ref/c/func/SetSystemUIMode // http://developer.apple.com/mac/library/documentation/Carbon/Reference/Dock_Manager/Reference/reference.html#//apple_ref/c/func/SetSystemUIMode
// //

Loading…
Cancel
Save