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