summaryrefslogtreecommitdiff
path: root/nekowatchlet/nekowatchlet.cpp
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-05-05 01:55:41 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-05-05 01:55:41 +0200
commit49c64104c0750857858504b512955d9cc31e5c42 (patch)
tree1a74e10cf42f0f08b1af64e8470825e8e1c8ea41 /nekowatchlet/nekowatchlet.cpp
parent24c7c2f6f1429103d922ef940c0e17a3d4778059 (diff)
downloadsowatch-49c64104c0750857858504b512955d9cc31e5c42.tar.gz
sowatch-49c64104c0750857858504b512955d9cc31e5c42.zip
update the rest of the watchlets
Diffstat (limited to 'nekowatchlet/nekowatchlet.cpp')
-rw-r--r--nekowatchlet/nekowatchlet.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/nekowatchlet/nekowatchlet.cpp b/nekowatchlet/nekowatchlet.cpp
index 627d127..6c02bee 100644
--- a/nekowatchlet/nekowatchlet.cpp
+++ b/nekowatchlet/nekowatchlet.cpp
@@ -4,14 +4,14 @@ using namespace sowatch;
const QLatin1String NekoWatchlet::myId("com.javispedro.sowatch.neko");
-NekoWatchlet::NekoWatchlet(WatchServer* server) :
- DeclarativeWatchlet(server, myId)
+NekoWatchlet::NekoWatchlet(Watch* watch) :
+ DeclarativeWatchlet(watch, myId)
{
// Workaround Qt's stupid clip region calculation when
// - There's a QML item with clip = true
// - And we are using "compat" updateRects() signal mode
setFullUpdateMode(true);
- setSource(QUrl(SOWATCH_QML_DIR "/nekowatchlet/" + server->watch()->model() + ".qml"));
+ setSource(QUrl(SOWATCH_QML_DIR "/nekowatchlet/" + watch->model() + ".qml"));
}