[qet] [3282] Refresh qetapp |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 3282
Author: scorpio810
Date: 2014-08-18 01:02:32 +0200 (Mon, 18 Aug 2014)
Log Message:
-----------
Refresh qetapp
Modified Paths:
--------------
trunk/sources/qetapp.cpp
Modified: trunk/sources/qetapp.cpp
===================================================================
--- trunk/sources/qetapp.cpp 2014-08-17 13:13:02 UTC (rev 3281)
+++ trunk/sources/qetapp.cpp 2014-08-17 23:02:32 UTC (rev 3282)
@@ -940,17 +940,20 @@
Autodetec Windows style
@param Windows style
*/
-#ifdef defined(Q_WS_WIN)
+#if defined(Q_WS_WIN) && defined(Q_WS_WINCE)
+
+if defined(Q_WS_WIN)
if ((QSysInfo::WindowsVersion >= QSysInfo::WV_VISTA
&& QSysInfo::WindowsVersion < QSysInfo::WV_NT_based))
style = QLatin1String("WindowsVista");
- else if ((QSysInfo::WindowsVersion >= QSysInfo::WV_XP
+ else if ((QSysInfo::WindowsVersion >= QSysInfo::WV_XP
&& QSysInfo::WindowsVersion < QSysInfo::WV_NT_based))
style = QLatin1String("WindowsXP");
else
style = QLatin1String("Windows"); // default styles for Windows
#endif
+
/**
Change la palette de l'application
@param use true pour utiliser les couleurs du systeme, false pour utiliser celles du theme en cours