Commit 391c98c7 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Only use the 8.1 define if Qt is new enough.

parent 2e86710b
......@@ -196,8 +196,10 @@ QString platformToStringWin(QSysInfo::WinVersion version)
return "Windows 7";
case QSysInfo::WV_WINDOWS8:
return "Windows 8";
#if QT_VERSION >= 0x040806
case QSysInfo::WV_WINDOWS8_1:
return "Windows 8.1";
return "Unknown Windows version";
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment