summaryrefslogtreecommitdiff
path: root/qorgwatchlet/qorgwatchlet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qorgwatchlet/qorgwatchlet.cpp')
-rw-r--r--qorgwatchlet/qorgwatchlet.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qorgwatchlet/qorgwatchlet.cpp b/qorgwatchlet/qorgwatchlet.cpp
index 3d042fb..5911a9b 100644
--- a/qorgwatchlet/qorgwatchlet.cpp
+++ b/qorgwatchlet/qorgwatchlet.cpp
@@ -4,8 +4,8 @@
using namespace sowatch;
-QOrgWatchlet::QOrgWatchlet(WatchServer* server) :
- DeclarativeWatchlet(server, "com.javispedro.sowatch.qorg")
+QOrgWatchlet::QOrgWatchlet(Watch* watch) :
+ DeclarativeWatchlet(watch, "com.javispedro.sowatch.qorg")
{
- setSource(QUrl(SOWATCH_QML_DIR "/qorgwatchlet/" + server->watch()->model() + ".qml"));
+ setSource(QUrl(SOWATCH_QML_DIR "/qorgwatchlet/" + watch->model() + ".qml"));
}