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 af2a0c0..5e116ac 100644
--- a/sowatchui/main.cpp
+++ b/sowatchui/main.cpp
@@ -6,6 +6,7 @@
#include "watchesmodel.h"
#include "watchscannermodel.h"
+#include "providersmodel.h"
static sowatch::Registry *registry;
static WatchesModel *watches;
@@ -24,6 +25,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");
viewer->rootContext()->setContextProperty("watches", watches);
viewer->rootContext()->setContextProperty("watchScanner", watchScanner);