Commit 92decee4 authored by Cédric Luthi's avatar Cédric Luthi

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

parent 07f111be
...@@ -26,6 +26,7 @@ OSStatus emptySetSystemUIMode ( ...@@ -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() ...@@ -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
// //
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment