NOISSUE fix build (OSVERSIONINFOW)
This commit is contained in:
parent
486d653586
commit
a5fb931e8e
@ -12,8 +12,8 @@ QString Sys::getSystemInfo()
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// We support only Windows NT (XP and up) - everything else is not interesting.
|
// We support only Windows NT (XP and up) - everything else is not interesting.
|
||||||
OSVERSIONINFO osvi;
|
OSVERSIONINFOW osvi;
|
||||||
ZeroMemory(&osvi, sizeof(OSVERSIONINFO));
|
ZeroMemory(&osvi, sizeof(OSVERSIONINFOW));
|
||||||
GetVersionExW(&osvi);
|
GetVersionExW(&osvi);
|
||||||
QString os = QString("Windows NT %1.%2").arg(osvi.dwMajorVersion).arg(osvi.dwMinorVersion);
|
QString os = QString("Windows NT %1.%2").arg(osvi.dwMajorVersion).arg(osvi.dwMinorVersion);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user