diff options
author | Stephan Binner <stephan.binner@basyskom.com> | 2017-07-23 11:31:32 +0200 |
---|---|---|
committer | Stephan Binner <stephan.binner@basyskom.com> | 2017-08-15 05:10:10 +0000 |
commit | e6fad35155a25a932386ad6f8421efd74404ac7f (patch) | |
tree | 9bb2e2c71d5b2ea305937cb5046b6e26141bab18 /src/widgets/graphicsview/qgraphicsview_p.h | |
parent | 306071e50eac8290d234caab90985ddf705a5fc6 (diff) |
Convert features.graphicsview to QT_[REQUIRE_]CONFIG
Change-Id: I1083097802772624e5d414678b4612308683a56f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/widgets/graphicsview/qgraphicsview_p.h')
-rw-r--r-- | src/widgets/graphicsview/qgraphicsview_p.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/widgets/graphicsview/qgraphicsview_p.h b/src/widgets/graphicsview/qgraphicsview_p.h index b34be77f11..0428b9ce70 100644 --- a/src/widgets/graphicsview/qgraphicsview_p.h +++ b/src/widgets/graphicsview/qgraphicsview_p.h @@ -54,8 +54,6 @@ #include <QtWidgets/private/qtwidgetsglobal_p.h> #include "qgraphicsview.h" -#if !defined(QT_NO_GRAPHICSVIEW) - #include <QtGui/qevent.h> #include <QtCore/qcoreapplication.h> #include "qgraphicssceneevent.h" @@ -63,6 +61,8 @@ #include <private/qabstractscrollarea_p.h> #include <private/qapplication_p.h> +QT_REQUIRE_CONFIG(graphicsview); + QT_BEGIN_NAMESPACE class Q_WIDGETS_EXPORT QGraphicsViewPrivate : public QAbstractScrollAreaPrivate @@ -231,6 +231,4 @@ public: QT_END_NAMESPACE -#endif // QT_NO_GRAPHICSVIEW - #endif |