summaryrefslogtreecommitdiff
path: root/declarativewatchlet.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 /declarativewatchlet.cpp
parentaa1c0fd3146b4ed055d181c99d52463afa6bedbb (diff)
downloadsowatch-b6060852c4b317cd73043cdc82b652d187d952fd.tar.gz
sowatch-b6060852c4b317cd73043cdc82b652d187d952fd.zip
Fixing some bugs in damage tracking on real N950
Diffstat (limited to 'declarativewatchlet.cpp')
-rw-r--r--declarativewatchlet.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/declarativewatchlet.cpp b/declarativewatchlet.cpp
index 1b9c836..7e6768e 100644
--- a/declarativewatchlet.cpp
+++ b/declarativewatchlet.cpp
@@ -19,7 +19,7 @@ DeclarativeWatchlet::DeclarativeWatchlet(WatchServer* server, const QString& id)
if (!_registered) {
qmlRegisterUncreatableType<DeclarativeWatchWrapper>("com.javispedro.sowatch", 1, 0,
- "Watch", "Watch is only available via attached properties");
+ "Watch", "Watch is only available via the 'watch' object");
_registered = true;
}
@@ -56,12 +56,14 @@ void DeclarativeWatchlet::setSource(const QUrl &url)
void DeclarativeWatchlet::activate()
{
+ Watchlet::activate();
_wrapper->activate();
_scene->update();
}
void DeclarativeWatchlet::deactivate()
{
+ Watchlet::deactivate();
_wrapper->deactivate();
}