summaryrefslogtreecommitdiff
path: root/qmapwatchlet/compasswatchlet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmapwatchlet/compasswatchlet.cpp')
-rw-r--r--qmapwatchlet/compasswatchlet.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/qmapwatchlet/compasswatchlet.cpp b/qmapwatchlet/compasswatchlet.cpp
index 3101955..cbc19a4 100644
--- a/qmapwatchlet/compasswatchlet.cpp
+++ b/qmapwatchlet/compasswatchlet.cpp
@@ -1,11 +1,11 @@
-#include "tripwatchlet.h"
+#include "compasswatchlet.h"
using namespace sowatch;
-const QLatin1String TripWatchlet::myId("com.javispedro.sowatch.trip");
+const QLatin1String CompassWatchlet::myId("com.javispedro.sowatch.compass");
-TripWatchlet::TripWatchlet(WatchServer* server) :
+CompassWatchlet::CompassWatchlet(WatchServer* server) :
DeclarativeWatchlet(server, myId)
{
- setSource(QUrl(SOWATCH_QML_DIR "/qmapwatchlet/trip-" + server->watch()->model() + ".qml"));
+ setSource(QUrl(SOWATCH_QML_DIR "/qmapwatchlet/compass-" + server->watch()->model() + ".qml"));
}