diff options
Diffstat (limited to 'src/declarative/items/context2d/qsgcontext2dcommandbuffer.cpp')
-rw-r--r-- | src/declarative/items/context2d/qsgcontext2dcommandbuffer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/items/context2d/qsgcontext2dcommandbuffer.cpp b/src/declarative/items/context2d/qsgcontext2dcommandbuffer.cpp index 8eb9513433..0448fa01c7 100644 --- a/src/declarative/items/context2d/qsgcontext2dcommandbuffer.cpp +++ b/src/declarative/items/context2d/qsgcontext2dcommandbuffer.cpp @@ -42,7 +42,6 @@ #include "qsgcontext2dcommandbuffer_p.h" #include "qsgcanvasitem_p.h" #include "qdeclarative.h" -#include <QtGui/QApplication> #include <QtCore/QMutex> #define HAS_SHADOW(offsetX, offsetY, blur, color) (color.isValid() && color.alpha() && (blur || offsetX || offsetY)) @@ -65,7 +64,9 @@ static QImage makeShadowImage(const QImage& image, qreal offsetX, qreal offsetY, QImage blurred(shadowImg.size(), QImage::Format_ARGB32); blurred.fill(0); QPainter blurPainter(&blurred); +#if 0 qt_blurImage(&blurPainter, shadowImg, blur, true, false); +#endif blurPainter.end(); shadowImg = blurred; } |