summaryrefslogtreecommitdiff
path: root/graphicswatchlet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphicswatchlet.cpp')
-rw-r--r--graphicswatchlet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphicswatchlet.cpp b/graphicswatchlet.cpp
index 130e1cc..538723a 100644
--- a/graphicswatchlet.cpp
+++ b/graphicswatchlet.cpp
@@ -35,7 +35,7 @@ void GraphicsWatchlet::sceneChanged(const QList<QRectF> &region)
_damaged += r.toRect();
}
- if (!_damaged.isEmpty() && !watch()->busy()) {
+ if (!_damaged.isEmpty() && _active && !watch()->busy()) {
const QVector<QRect> rects = _damaged.rects();
QPainter p(watch());
foreach(const QRect& r, rects)