From e893f6bd9db696a1d647b796138233152ca290fa Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 22 Aug 2014 15:22:02 -0700 Subject: Use the Windows default font on Windows 7 and 8/8.1 It contains the characters we need and will make the application look more "native". See #712 Signed-off-by: Dirk Hohndel --- subsurfacesysinfo.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'subsurfacesysinfo.cpp') diff --git a/subsurfacesysinfo.cpp b/subsurfacesysinfo.cpp index caa9db8a5..4093654ee 100644 --- a/subsurfacesysinfo.cpp +++ b/subsurfacesysinfo.cpp @@ -479,3 +479,11 @@ QString SubsurfaceSysInfo::osArch() #endif return res; } + +extern "C" { +bool isWin7Or8() +{ + QString os = SubsurfaceSysInfo::prettyOsName(); + return os == "Windows 7" || os.startsWith("Windows 8"); +} +} -- cgit v1.2.3-70-g09d2