diff options
| author | Javier S. Pedro <maemo@javispedro.com> | 2011-12-02 23:02:51 +0100 |
|---|---|---|
| committer | Javier S. Pedro <maemo@javispedro.com> | 2011-12-02 23:02:51 +0100 |
| commit | d5b5cfc83e1247ebc18ef2024f07bdd37d41164b (patch) | |
| tree | d6c44ffe944c730f4bb16a3e5a412db78027f324 /libsowatch | |
| parent | 1abf33ab7bcbf73ebb9eeb6c388c3c1c4abef445 (diff) | |
| download | sowatch-d5b5cfc83e1247ebc18ef2024f07bdd37d41164b.tar.gz sowatch-d5b5cfc83e1247ebc18ef2024f07bdd37d41164b.zip | |
provide a set of metawatch common qml elements
Diffstat (limited to 'libsowatch')
| -rw-r--r-- | libsowatch/declarativewatchlet.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libsowatch/declarativewatchlet.cpp b/libsowatch/declarativewatchlet.cpp index 34a1d2a..275af2a 100644 --- a/libsowatch/declarativewatchlet.cpp +++ b/libsowatch/declarativewatchlet.cpp @@ -24,8 +24,9 @@ DeclarativeWatchlet::DeclarativeWatchlet(WatchServer* server, const QString& id) } _engine = new QDeclarativeEngine(this); - _wrapper = new DeclarativeWatchWrapper(server, server->watch(), this); + _engine->addImportPath(SOWATCH_QML_DIR); + _wrapper = new DeclarativeWatchWrapper(server, server->watch(), this); _engine->rootContext()->setContextProperty("watch", _wrapper); } |
