summaryrefslogtreecommitdiff
path: root/qmapwatchlet/qmapwatchlet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmapwatchlet/qmapwatchlet.cpp')
-rw-r--r--qmapwatchlet/qmapwatchlet.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/qmapwatchlet/qmapwatchlet.cpp b/qmapwatchlet/qmapwatchlet.cpp
index 6f39641..82132db 100644
--- a/qmapwatchlet/qmapwatchlet.cpp
+++ b/qmapwatchlet/qmapwatchlet.cpp
@@ -2,9 +2,12 @@
using namespace sowatch;
+const QLatin1String QMapWatchlet::myId("com.javispedro.sowatch.qmap");
+
QMapWatchlet::QMapWatchlet(WatchServer* server) :
- DeclarativeWatchlet(server, "com.javispedro.sowatch.qmap")
+ DeclarativeWatchlet(server, myId)
{
+ setFullUpdateMode(true);
setSource(QUrl(SOWATCH_QML_DIR "/qmapwatchlet/" + server->watch()->model() + ".qml"));
}