summaryrefslogtreecommitdiff
path: root/notificationswatchlet/notificationswatchlet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'notificationswatchlet/notificationswatchlet.cpp')
-rw-r--r--notificationswatchlet/notificationswatchlet.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/notificationswatchlet/notificationswatchlet.cpp b/notificationswatchlet/notificationswatchlet.cpp
index 89e61ca..b587fb5 100644
--- a/notificationswatchlet/notificationswatchlet.cpp
+++ b/notificationswatchlet/notificationswatchlet.cpp
@@ -2,9 +2,9 @@
using namespace sowatch;
-NotificationsWatchlet::NotificationsWatchlet(WatchServer* server) :
- DeclarativeWatchlet(server, "com.javispedro.sowatch.notifications")
+NotificationsWatchlet::NotificationsWatchlet(Watch* watch) :
+ DeclarativeWatchlet(watch, "com.javispedro.sowatch.notifications")
{
- setSource(QUrl(SOWATCH_QML_DIR "/notificationswatchlet/" + server->watch()->model() + ".qml"));
+ setSource(QUrl(SOWATCH_QML_DIR "/notificationswatchlet/" + watch->model() + ".qml"));
}