summaryrefslogtreecommitdiff
path: root/qmapwatchlet/qmapwatchlet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmapwatchlet/qmapwatchlet.cpp')
-rw-r--r--qmapwatchlet/qmapwatchlet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmapwatchlet/qmapwatchlet.cpp b/qmapwatchlet/qmapwatchlet.cpp
index c77ede4..d90de47 100644
--- a/qmapwatchlet/qmapwatchlet.cpp
+++ b/qmapwatchlet/qmapwatchlet.cpp
@@ -6,6 +6,6 @@ QMapWatchlet::QMapWatchlet(WatchServer* server) :
DeclarativeWatchlet(server, "com.javispedro.sowatch.map")
{
- setSource(QUrl("qrc:/qmapwatchlet/" + server->watch()->model() + ".qml"));
+ setSource(QUrl(SOWATCH_QML_DIR "/qmapwatchlet/" + server->watch()->model() + ".qml"));
}