summaryrefslogtreecommitdiff
path: root/main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.cxx b/main.cxx
index db21e08..9437396 100644
--- a/main.cxx
+++ b/main.cxx
@@ -1,7 +1,9 @@
#include <QGuiApplication>
#include <QQmlApplicationEngine>
+#include <QtQml>
#include "user.hxx"
#include "controller.hxx"
+#include "tasklist.hxx"
int main(int argc, char* argv[])
{
@@ -21,6 +23,8 @@ int main(int argc, char* argv[])
auto appWindow = rootObjects[0];
Controller controller{appWindow};
+ TaskList taskList;
+ engine.rootContext()->setContextProperty("taskList", &taskList);
return app.exec();
}