summaryrefslogtreecommitdiffstats
path: root/src/corelib/global
diff options
context:
space:
mode:
authorAndrew Knight <andrew.knight@digia.com>2014-06-17 09:21:34 +0300
committerAndrew Knight <andrew.knight@digia.com>2014-06-25 16:33:50 +0200
commit1aac2527c7e0ced9565324d6a16c1707400ec694 (patch)
tree3f041aa30eb632a63a1e91aed8a2f1b8056fa791 /src/corelib/global
parentbae7435f61e68711b6b8ce056957a146dc1a335e (diff)
winrt: Return correct value from QSysInfo::windowsVersion()
Task-number: QTBUG-38439 Change-Id: I26303d040cc4b958e6af90ea63e5b0d821e2bb74 Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Diffstat (limited to 'src/corelib/global')
-rw-r--r--src/corelib/global/qglobal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp
index dd75421a55..fb95a1966f 100644
--- a/src/corelib/global/qglobal.cpp
+++ b/src/corelib/global/qglobal.cpp
@@ -1909,7 +1909,7 @@ QSysInfo::WinVersion QSysInfo::windowsVersion()
if (winver)
return winver;
#ifdef Q_OS_WINRT
- winver = QSysInfo::WV_WINDOWS8;
+ winver = QSysInfo::WV_WINDOWS8_1;
#else
winver = QSysInfo::WV_NT;
const OSVERSIONINFO osver = winOsVersion();