mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
d747d76762
This used to be a copy of QSysInfo. However, once the requirement was raised to Qt5.4, this was replaced by a subclass of the original QSysInfo - which made the whole file mostly obsolete. Just use QSysInfo directly where needed. Only for windows.c, which can't call directly into Qt, keep the isWin7Or8() helper function. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
10 lines
230 B
C++
10 lines
230 B
C++
// SPDX-License-Identifier: LGPL-2.1+
|
|
#include "subsurfacesysinfo.h"
|
|
#include <QSysInfo>
|
|
|
|
#ifdef Q_OS_WIN
|
|
extern "C" bool isWin7Or8()
|
|
{
|
|
return (QSysInfo::WindowsVersion & QSysInfo::WV_NT_based) >= QSysInfo::WV_WINDOWS7;
|
|
}
|
|
#endif
|