summaryrefslogtreecommitdiff
path: root/qmsgwatchlet/qmsgwatchlet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmsgwatchlet/qmsgwatchlet.cpp')
-rw-r--r--qmsgwatchlet/qmsgwatchlet.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qmsgwatchlet/qmsgwatchlet.cpp b/qmsgwatchlet/qmsgwatchlet.cpp
index 7111c81..6a24ab9 100644
--- a/qmsgwatchlet/qmsgwatchlet.cpp
+++ b/qmsgwatchlet/qmsgwatchlet.cpp
@@ -5,9 +5,9 @@
QTM_USE_NAMESPACE
using namespace sowatch;
-QMsgWatchlet::QMsgWatchlet(WatchServer* server) :
- DeclarativeWatchlet(server, "com.javispedro.sowatch.qmsg"),
+QMsgWatchlet::QMsgWatchlet(Watch* watch) :
+ DeclarativeWatchlet(watch, "com.javispedro.sowatch.qmsg"),
_qms(new QMessageService(this))
{
- setSource(QUrl(SOWATCH_QML_DIR "/qmsgwatchlet/" + server->watch()->model() + ".qml"));
+ setSource(QUrl(SOWATCH_QML_DIR "/qmsgwatchlet/" + watch->model() + ".qml"));
}