diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2013-05-05 01:55:41 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2013-05-05 01:55:41 +0200 |
commit | 49c64104c0750857858504b512955d9cc31e5c42 (patch) | |
tree | 1a74e10cf42f0f08b1af64e8470825e8e1c8ea41 /qmapwatchlet/compasswatchlet.cpp | |
parent | 24c7c2f6f1429103d922ef940c0e17a3d4778059 (diff) | |
download | sowatch-49c64104c0750857858504b512955d9cc31e5c42.tar.gz sowatch-49c64104c0750857858504b512955d9cc31e5c42.zip |
update the rest of the watchlets
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")); } |