From cbad63100ab275b122c0ea445a13ea98679c3f8f Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Mon, 11 Jan 2016 13:08:13 -0200 Subject: [PATCH] Detecting windows10 in about dialog --- src/Gui/Splashscreen.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Gui/Splashscreen.cpp b/src/Gui/Splashscreen.cpp index 87ee58813..a20077620 100644 --- a/src/Gui/Splashscreen.cpp +++ b/src/Gui/Splashscreen.cpp @@ -260,6 +260,10 @@ static QString getOperatingSystem() #if ((QT_VERSION >= 0x050200) || (QT_VERSION >= 0x040806 && QT_VERSION < 0x050000)) case QSysInfo::WV_WINDOWS8_1: return QString::fromLatin1("Windows 8.1"); +#endif +#if QT_VERSION >= 0x040807 + case QSysInfo::WV_WINDOWS10: + return QString::fromLatin1("Windows 10"); #endif default: return QString::fromLatin1("Windows");