From db6cd6775798c1cb48f39ba2e07d6cfb0771f62c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 22 Sep 2017 14:17:57 +0200 Subject: gui: fix global qt style for xp --- gui/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gui/main.cpp b/gui/main.cpp index 3481c534..d929c543 100644 --- a/gui/main.cpp +++ b/gui/main.cpp @@ -5,6 +5,7 @@ # include # include # include +# include # include #else # include @@ -27,6 +28,11 @@ using namespace options; void set_qt_style() { +#if defined _WIN32 + if (QSysInfo::WindowsVersion == QSysInfo::WV_XP) + return; +#endif + #if defined(_WIN32) || defined(__APPLE__) // our layouts on OSX make some control wrongly sized -sh 20160908 { -- cgit v1.2.3