summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'app/main.cpp')
-rw-r--r--app/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/main.cpp b/app/main.cpp
index 7ad569f..082c444 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -28,6 +28,7 @@
#include <QQuickWindow>
#include <libhomescreen.hpp>
#include <bluetooth.h>
+#include <network.h>
#include <qlibwindowmanager.h>
class DBus : public QObject
@@ -84,6 +85,7 @@ int main(int argc, char *argv[])
bindingAddressWS.setQuery(query);
QQmlContext *context = engine.rootContext();
context->setContextProperty(QStringLiteral("bindingAddressWS"), bindingAddressWS);
+ context->setContextProperty("network", new Network(bindingAddressWS, context));
std::string token = secret.toStdString();
LibHomeScreen* hs = new LibHomeScreen();