Widgets: Enable Windows styles on Windows.

Change-Id: I1f1a675ad52da2bfb8988d91012d725469d1cac9
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
Friedemann Kleint 2012-01-25 12:26:37 +01:00 committed by Qt by Nokia
parent b465f859a2
commit 45690f7567

View File

@ -135,7 +135,7 @@ QString QGuiPlatformPlugin::styleName()
return QLatin1String("WindowsMobile");
else
return QLatin1String("WindowsCE");
#elif defined(Q_WS_WIN)
#elif defined(Q_OS_WIN)
if ((QSysInfo::WindowsVersion >= QSysInfo::WV_VISTA
&& QSysInfo::WindowsVersion < QSysInfo::WV_NT_based))
return QLatin1String("WindowsVista");