summaryrefslogtreecommitdiff
path: root/qmsgwatchlet/qmsgwatchlet.cpp
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-08-11 01:10:25 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-08-11 01:10:25 +0200
commitf0564ad9d210cc68bfb1bfc6e56b86fa941ad830 (patch)
tree0401716e7af8be4318be1b9e88eca1cc8ad28d39 /qmsgwatchlet/qmsgwatchlet.cpp
parent1b8f2a0e2e63b1f881b6ba7b18982353b9c27b19 (diff)
downloadsowatch-f0564ad9d210cc68bfb1bfc6e56b86fa941ad830.tar.gz
sowatch-f0564ad9d210cc68bfb1bfc6e56b86fa941ad830.zip
more fixes
Diffstat (limited to 'qmsgwatchlet/qmsgwatchlet.cpp')
-rw-r--r--qmsgwatchlet/qmsgwatchlet.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qmsgwatchlet/qmsgwatchlet.cpp b/qmsgwatchlet/qmsgwatchlet.cpp
index 5a95937..35a99d8 100644
--- a/qmsgwatchlet/qmsgwatchlet.cpp
+++ b/qmsgwatchlet/qmsgwatchlet.cpp
@@ -1,11 +1,11 @@
#include "qmsgwatchlet.h"
+QTM_USE_NAMESPACE
using namespace sowatch;
QMsgWatchlet::QMsgWatchlet(WatchServer* server) :
- DeclarativeWatchlet(server, "com.javispedro.sowatch.qmsg")
+ DeclarativeWatchlet(server, "com.javispedro.sowatch.qmsg"),
+ _qms(new QMessageService(this))
{
-
setSource(QUrl(SOWATCH_QML_DIR "/qmsgwatchlet/" + server->watch()->model() + ".qml"));
}
-