summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qpixmapstyle.cpp
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-07-22 15:19:13 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-07-25 11:23:49 +0000
commit16f375f5490dec4bc69ceb52cd1f26e68011484f (patch)
tree6b2216e9e0881a8abfce2652fa0be3b3adf61175 /src/widgets/styles/qpixmapstyle.cpp
parent163863f77d891f56573e4dae316d16cfc2fefc8f (diff)
Convert features.itemviews to QT_[REQUIRE_]CONFIG
The QT_NO_ITEMVIEWS queries in corelib/ seem to had no effect at all. Change-Id: I494ee2309a96b0cf25de18781fc9a675878a2ee9 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/widgets/styles/qpixmapstyle.cpp')
-rw-r--r--src/widgets/styles/qpixmapstyle.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widgets/styles/qpixmapstyle.cpp b/src/widgets/styles/qpixmapstyle.cpp
index 795fe34975..63308a5e36 100644
--- a/src/widgets/styles/qpixmapstyle.cpp
+++ b/src/widgets/styles/qpixmapstyle.cpp
@@ -55,11 +55,13 @@
#if QT_CONFIG(combobox)
#include <QComboBox>
#endif
+#if QT_CONFIG(itemviews)
#include <QAbstractItemView>
+#include <QStyledItemDelegate>
+#endif
#if QT_CONFIG(listview)
#include <QListView>
#endif
-#include <QStyledItemDelegate>
#include <QAbstractScrollArea>
#include <QScrollBar>