summaryrefslogtreecommitdiff
path: root/declarativewatchlet.cpp
diff options
context:
space:
mode:
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();
}