diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2009-11-04 15:05:46 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2009-11-04 16:03:51 (GMT) |
commit | f97c1d1b60a31b1738a8c19a1dd69255b794615f (patch) | |
tree | 023039cbc0b5293af088163191144e7eee054269 /src/gui/effects/qgraphicseffect.cpp | |
parent | 5ff97be22a5246c11851c2c6471a0b7ee2399425 (diff) | |
download | Qt-f97c1d1b60a31b1738a8c19a1dd69255b794615f.zip Qt-f97c1d1b60a31b1738a8c19a1dd69255b794615f.tar.gz Qt-f97c1d1b60a31b1738a8c19a1dd69255b794615f.tar.bz2 |
Add QT_NO_GRAPHICSEFFECT
It depends on QT_NO_GRAPHICSVIEW for now, but it is possible to remove
this dependency.
Reviewed-by: paul
Diffstat (limited to 'src/gui/effects/qgraphicseffect.cpp')
-rw-r--r-- | src/gui/effects/qgraphicseffect.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/effects/qgraphicseffect.cpp b/src/gui/effects/qgraphicseffect.cpp index 83f4f79..d7e838e 100644 --- a/src/gui/effects/qgraphicseffect.cpp +++ b/src/gui/effects/qgraphicseffect.cpp @@ -108,6 +108,7 @@ #include <QtCore/qdebug.h> #include <private/qdrawhelper_p.h> +#ifndef QT_NO_GRAPHICSEFFECT QT_BEGIN_NAMESPACE /*! @@ -1128,3 +1129,4 @@ void QGraphicsOpacityEffect::draw(QPainter *painter, QGraphicsEffectSource *sour QT_END_NAMESPACE +#endif //QT_NO_GRAPHICSEFFECT |