diff options
Diffstat (limited to 'qmapwatchlet/compasswatchlet.cpp')
-rw-r--r-- | qmapwatchlet/compasswatchlet.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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")); } |