summaryrefslogtreecommitdiff
path: root/sowatchui/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sowatchui/main.cpp')
-rw-r--r--sowatchui/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/sowatchui/main.cpp b/sowatchui/main.cpp
index 5e116ac..80a0f6b 100644
--- a/sowatchui/main.cpp
+++ b/sowatchui/main.cpp
@@ -7,6 +7,7 @@
#include "watchesmodel.h"
#include "watchscannermodel.h"
#include "providersmodel.h"
+#include "watchletsmodel.h"
static sowatch::Registry *registry;
static WatchesModel *watches;
@@ -26,6 +27,7 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
qmlRegisterType<sowatch::ConfigKey>();
qmlRegisterType<sowatch::GConfKey>("com.javispedro.sowatch", 1, 0, "GConfKey");
qmlRegisterType<ProvidersModel>("com.javispedro.sowatch", 1, 0, "ProvidersModel");
+ qmlRegisterType<WatchletsModel>("com.javispedro.sowatch", 1, 0, "WatchletsModel");
viewer->rootContext()->setContextProperty("watches", watches);
viewer->rootContext()->setContextProperty("watchScanner", watchScanner);