summaryrefslogtreecommitdiff
path: root/sysinfowatchlet/sysinfowatchlet.cpp
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-01-03 18:41:03 +0100
committerJavier S. Pedro <maemo@javispedro.com>2012-01-03 18:41:03 +0100
commit42877713055d098a259ac33f3278336610f22b9b (patch)
tree3eb27b8f04f0962ae5ed83167407fa18462e3bc2 /sysinfowatchlet/sysinfowatchlet.cpp
parente166ea78debb9ef69df2462a1e31d0175ecbe8f3 (diff)
downloadsowatch-42877713055d098a259ac33f3278336610f22b9b.tar.gz
sowatch-42877713055d098a259ac33f3278336610f22b9b.zip
moving sysinfowatchlet qml out of qrc
Diffstat (limited to 'sysinfowatchlet/sysinfowatchlet.cpp')
-rw-r--r--sysinfowatchlet/sysinfowatchlet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysinfowatchlet/sysinfowatchlet.cpp b/sysinfowatchlet/sysinfowatchlet.cpp
index 9e4bbf2..46d45e7 100644
--- a/sysinfowatchlet/sysinfowatchlet.cpp
+++ b/sysinfowatchlet/sysinfowatchlet.cpp
@@ -10,7 +10,7 @@ SysInfoWatchlet::SysInfoWatchlet(WatchServer* server) :
{
rootContext()->setContextProperty("batteryLevel", 0);
rootContext()->setContextProperty("networkName", "");
- setSource(QUrl("qrc:/sysinfowatchlet/" + server->watch()->model() + ".qml"));
+ setSource(QUrl(SOWATCH_QML_DIR "/sysinfowatchlet/" + server->watch()->model() + ".qml"));
connect(this, SIGNAL(activated()), SLOT(handleActivated()));
}