summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qstylehelper.cpp
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-07-29 08:46:49 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-08-10 05:37:17 +0000
commit414026ad9c3e92b1c6a715543175acb922d703e2 (patch)
tree70cab464b13ace5a3e3ab56e70347b4ee7f433e2 /src/widgets/styles/qstylehelper.cpp
parentd1a3e674b6b9a98e16aa26fe05688e7099cd2b9b (diff)
Convert features.scrollbar to QT_[REQUIRE_]CONFIG
Change-Id: Id6ea899c0fddf0de636701cfdc5f01ba20024976 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/widgets/styles/qstylehelper.cpp')
-rw-r--r--src/widgets/styles/qstylehelper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/styles/qstylehelper.cpp b/src/widgets/styles/qstylehelper.cpp
index 43bec9a096..797fb0c60a 100644
--- a/src/widgets/styles/qstylehelper.cpp
+++ b/src/widgets/styles/qstylehelper.cpp
@@ -43,7 +43,9 @@
#include <private/qmath_p.h>
#include <private/qstyle_p.h>
#include <qmath.h>
+#if QT_CONFIG(scrollbar)
#include <qscrollbar.h>
+#endif
#include <qabstractscrollarea.h>
#include <qwindow.h>