summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qwindowsvistastyle_p_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2016-11-18 14:10:35 +0100
committerLars Knoll <lars.knoll@qt.io>2016-11-29 19:04:48 +0000
commit7d12ef183ee6b7909c451a3042ecf8b1fc20f87f (patch)
treefdb717743892cbacb91340e1f9c30a02072a9705 /src/widgets/styles/qwindowsvistastyle_p_p.h
parente3555fe9705a44072a05b95cca36579745e14125 (diff)
Clean up style selection code
Turn styles into proper features and test for them using qtConfig/QT_CONFIG. Change-Id: I7e28785a46723364b90d8aa286f4d6e5ab085651 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/widgets/styles/qwindowsvistastyle_p_p.h')
-rw-r--r--src/widgets/styles/qwindowsvistastyle_p_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/styles/qwindowsvistastyle_p_p.h b/src/widgets/styles/qwindowsvistastyle_p_p.h
index 4ca47fec2c..18b6f9c3f7 100644
--- a/src/widgets/styles/qwindowsvistastyle_p_p.h
+++ b/src/widgets/styles/qwindowsvistastyle_p_p.h
@@ -54,7 +54,7 @@
#include <QtWidgets/private/qtwidgetsglobal_p.h>
#include "qwindowsvistastyle_p.h"
-#if !defined(QT_NO_STYLE_WINDOWSVISTA)
+#if QT_CONFIG(style_windowsvista)
#include <private/qwindowsxpstyle_p_p.h>
#include <private/qstyleanimation_p.h>
#include <private/qpaintengine_raster_p.h>
@@ -177,6 +177,6 @@ public:
QT_END_NAMESPACE
-#endif // QT_NO_STYLE_WINDOWSVISTA
+#endif // style_windowsvista
#endif // QWINDOWSVISTASTYLE_P_P_H