From 92decee422baffbfb902749761e65ea31b3e9fd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Luthi?= Date: Mon, 30 May 2011 14:15:13 +0200 Subject: [PATCH] Fixed "control reaches end of non-void function" warning --- src/frameworks/UBPlatformUtils_mac.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frameworks/UBPlatformUtils_mac.mm b/src/frameworks/UBPlatformUtils_mac.mm index b97bf821..1b4b12d0 100644 --- a/src/frameworks/UBPlatformUtils_mac.mm +++ b/src/frameworks/UBPlatformUtils_mac.mm @@ -26,6 +26,7 @@ OSStatus emptySetSystemUIMode ( Q_UNUSED(inMode); Q_UNUSED(inOptions); // NOOP + return noErr; } void *originalSetSystemUIMode = 0; @@ -34,7 +35,7 @@ void UBPlatformUtils::init() { 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 //