summaryrefslogtreecommitdiff
path: root/graphicswatchlet.cpp
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2011-09-16 20:51:27 +0200
committerJavier <javier@pcjavier.(none)>2011-09-16 20:51:27 +0200
commitb6060852c4b317cd73043cdc82b652d187d952fd (patch)
treea5795eb33379e7172cd16962c131b8bac8db16da /graphicswatchlet.cpp
parentaa1c0fd3146b4ed055d181c99d52463afa6bedbb (diff)
downloadsowatch-b6060852c4b317cd73043cdc82b652d187d952fd.tar.gz
sowatch-b6060852c4b317cd73043cdc82b652d187d952fd.zip
Fixing some bugs in damage tracking on real N950
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)