From b6060852c4b317cd73043cdc82b652d187d952fd Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Fri, 16 Sep 2011 20:51:27 +0200 Subject: Fixing some bugs in damage tracking on real N950 --- declarativewatchlet.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'declarativewatchlet.cpp') 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("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(); } -- cgit v1.2.3