summaryrefslogtreecommitdiffstats
path: root/src/widgets/effects/qgraphicseffect.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/effects/qgraphicseffect.h')
-rw-r--r--src/widgets/effects/qgraphicseffect.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/widgets/effects/qgraphicseffect.h b/src/widgets/effects/qgraphicseffect.h
index 8e07e51dca..78d025ded5 100644
--- a/src/widgets/effects/qgraphicseffect.h
+++ b/src/widgets/effects/qgraphicseffect.h
@@ -47,9 +47,9 @@
#include <QtGui/qcolor.h>
#include <QtGui/qbrush.h>
-#ifndef QT_NO_GRAPHICSEFFECT
-QT_BEGIN_NAMESPACE
+QT_REQUIRE_CONFIG(graphicseffect);
+QT_BEGIN_NAMESPACE
class QGraphicsItem;
class QStyleOption;
@@ -279,7 +279,5 @@ private:
QT_END_NAMESPACE
-#endif //QT_NO_GRAPHICSEFFECT
-
#endif // QGRAPHICSEFFECT_H