Detecting windows10 in about dialog
This commit is contained in:
parent
89cb247923
commit
cbad63100a
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue
Block a user