summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorPrasanth Ullattil <prasanth.ullattil@nokia.com>2010-03-18 11:41:09 (GMT)
committerPrasanth Ullattil <prasanth.ullattil@nokia.com>2010-03-18 11:41:09 (GMT)
commita6b28b13331117c6beec96ddcdcd727550d77343 (patch)
tree103040c011545d4e30059e57bfb41ad86aa6fcb8 /src/gui/kernel
parentf3f979cbd37f47892cd0c0a9fc23b802ed6f7890 (diff)
downloadQt-a6b28b13331117c6beec96ddcdcd727550d77343.zip
Qt-a6b28b13331117c6beec96ddcdcd727550d77343.tar.gz
Qt-a6b28b13331117c6beec96ddcdcd727550d77343.tar.bz2
Minor update for f3f979cbd37f47892cd0c0a9fc23b802ed6f7890
The function is needed only on Mac. Task-number: QTBUG-4463 Reviewed-by: TrustMe
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qapplication.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp
index a2666f7..003fd4c 100644
--- a/src/gui/kernel/qapplication.cpp
+++ b/src/gui/kernel/qapplication.cpp
@@ -2309,6 +2309,7 @@ static bool qt_detectRTLLanguage()
" languages or to 'RTL' in right-to-left languages (such as Hebrew"
" and Arabic) to get proper widget layout.") == QLatin1String("RTL"));
}
+#if defined(Q_WS_MAC)
static const char *application_menu_strings[] = {
QT_TRANSLATE_NOOP("MAC_APPLICATION_MENU","Services"),
QT_TRANSLATE_NOOP("MAC_APPLICATION_MENU","Hide %1"),
@@ -2324,6 +2325,7 @@ QString qt_mac_applicationmenu_string(int type)
application_menu_strings[type]);
}
#endif
+#endif
/*!\reimp