summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qguiplatformplugin.cpp
diff options
context:
space:
mode:
authorAndreas Holzammer <[email protected]>2012-02-07 14:23:50 +0100
committerQt by Nokia <[email protected]>2012-02-07 20:04:44 +0100
commit194d2ca5c3bbf7e5c06a5f8e4fbbbc8e1247f549 (patch)
tree17d8244de34dbfe51fe44fee18630487face84ea /src/widgets/kernel/qguiplatformplugin.cpp
parent3cb871241a727193b17b1e0f28a5a9ba87f61d36 (diff)
Use Q_OS_WINCE instead of Q_WS_WINCE
Window system defines have been deprecated, so use Q_OS_WINCE instead. Change-Id: I52059d0f854fe783ac20610ab248800c3e1e827c Reviewed-by: Oswald Buddenhagen <[email protected]> Reviewed-by: Friedemann Kleint <[email protected]>
Diffstat (limited to 'src/widgets/kernel/qguiplatformplugin.cpp')
-rw-r--r--src/widgets/kernel/qguiplatformplugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/kernel/qguiplatformplugin.cpp b/src/widgets/kernel/qguiplatformplugin.cpp
index f5f00cc7693..540499887e4 100644
--- a/src/widgets/kernel/qguiplatformplugin.cpp
+++ b/src/widgets/kernel/qguiplatformplugin.cpp
@@ -50,7 +50,7 @@
#include "qplatformdefs.h"
#include "qicon.h"
-#ifdef Q_WS_WINCE
+#ifdef Q_OS_WINCE
#include "qguifunctions_wince.h"
extern bool qt_wince_is_smartphone(); //qguifunctions_wince.cpp
extern bool qt_wince_is_mobile(); //qguifunctions_wince.cpp
@@ -130,7 +130,7 @@ QGuiPlatformPlugin::~QGuiPlatformPlugin() {}
/* return the string key to be used by default the application */
QString QGuiPlatformPlugin::styleName()
{
-#if defined(Q_WS_WIN) && defined(Q_WS_WINCE)
+#if defined(Q_WS_WIN) && defined(Q_OS_WINCE)
if (qt_wince_is_smartphone() || qt_wince_is_pocket_pc())
return QLatin1String("WindowsMobile");
else