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 --- qmapwatchlet/compasswatchlet.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qmapwatchlet/compasswatchlet.cpp') diff --git a/qmapwatchlet/compasswatchlet.cpp b/qmapwatchlet/compasswatchlet.cpp index cbc19a4..2ebfc42 100644 --- a/qmapwatchlet/compasswatchlet.cpp +++ b/qmapwatchlet/compasswatchlet.cpp @@ -4,8 +4,8 @@ using namespace sowatch; const QLatin1String CompassWatchlet::myId("com.javispedro.sowatch.compass"); -CompassWatchlet::CompassWatchlet(WatchServer* server) : - DeclarativeWatchlet(server, myId) +CompassWatchlet::CompassWatchlet(Watch* watch) : + DeclarativeWatchlet(watch, myId) { - setSource(QUrl(SOWATCH_QML_DIR "/qmapwatchlet/compass-" + server->watch()->model() + ".qml")); + setSource(QUrl(SOWATCH_QML_DIR "/qmapwatchlet/compass-" + watch->model() + ".qml")); } -- cgit v1.2.3