diff options
Diffstat (limited to 'src/widgets/graphicsview/qgraphicssceneevent.h')
-rw-r--r-- | src/widgets/graphicsview/qgraphicssceneevent.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/widgets/graphicsview/qgraphicssceneevent.h b/src/widgets/graphicsview/qgraphicssceneevent.h index 4d6cde1b87..77b53e401d 100644 --- a/src/widgets/graphicsview/qgraphicssceneevent.h +++ b/src/widgets/graphicsview/qgraphicssceneevent.h @@ -51,10 +51,9 @@ #include <QtCore/qhash.h> #endif -QT_BEGIN_NAMESPACE - +QT_REQUIRE_CONFIG(graphicsview); -#if !defined(QT_NO_GRAPHICSVIEW) +QT_BEGIN_NAMESPACE class QMimeData; class QPointF; @@ -321,8 +320,6 @@ public: void setNewPos(const QPointF &pos); }; -#endif // QT_NO_GRAPHICSVIEW - QT_END_NAMESPACE #endif |