Widgets: Enable Windows styles on Windows.
Change-Id: I1f1a675ad52da2bfb8988d91012d725469d1cac9 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
parent
b465f859a2
commit
45690f7567
@ -135,7 +135,7 @@ QString QGuiPlatformPlugin::styleName()
|
|||||||
return QLatin1String("WindowsMobile");
|
return QLatin1String("WindowsMobile");
|
||||||
else
|
else
|
||||||
return QLatin1String("WindowsCE");
|
return QLatin1String("WindowsCE");
|
||||||
#elif defined(Q_WS_WIN)
|
#elif defined(Q_OS_WIN)
|
||||||
if ((QSysInfo::WindowsVersion >= QSysInfo::WV_VISTA
|
if ((QSysInfo::WindowsVersion >= QSysInfo::WV_VISTA
|
||||||
&& QSysInfo::WindowsVersion < QSysInfo::WV_NT_based))
|
&& QSysInfo::WindowsVersion < QSysInfo::WV_NT_based))
|
||||||
return QLatin1String("WindowsVista");
|
return QLatin1String("WindowsVista");
|
||||||
|
Loading…
Reference in New Issue
Block a user