summaryrefslogtreecommitdiff
path: root/qmapwatchlet/qmapwatchlet.cpp
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-08-17 04:57:27 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-08-17 04:57:27 +0200
commit659c53b0d8faf26e6f06334833b2e105a4c4193d (patch)
tree8dced84e65f3c662622159acb6ab096bfc005976 /qmapwatchlet/qmapwatchlet.cpp
parenta2059b5cfaa600402dfbec5d63099fd724998e9f (diff)
downloadsowatch-659c53b0d8faf26e6f06334833b2e105a4c4193d.tar.gz
sowatch-659c53b0d8faf26e6f06334833b2e105a4c4193d.zip
trying to make the map watchlet more useful
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"));
}