From 49c64104c0750857858504b512955d9cc31e5c42 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Sun, 5 May 2013 01:55:41 +0200 Subject: update the rest of the watchlets --- nekowatchlet/nekowatchlet.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nekowatchlet/nekowatchlet.cpp') 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")); } -- cgit v1.2.3