From a6b28b13331117c6beec96ddcdcd727550d77343 Mon Sep 17 00:00:00 2001 From: Prasanth Ullattil Date: Thu, 18 Mar 2010 12:41:09 +0100 Subject: Minor update for f3f979cbd37f47892cd0c0a9fc23b802ed6f7890 The function is needed only on Mac. Task-number: QTBUG-4463 Reviewed-by: TrustMe --- src/gui/kernel/qapplication.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v0.12