summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-09-10 21:01:59 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-09-10 21:01:59 +0900
commit5b0fa80e6a55b31f96537c6714519222374b8cc3 (patch)
treee4484d20e6102b57c1d5e6a4d9560fc164b65953 /app/main.cpp
parent087d29529292db2e6b6e654254b6600d95a3a43a (diff)
delete qtappfw for SPEC_1680 testsandbox/zheng_wenlong/double_free_test
Diffstat (limited to 'app/main.cpp')
-rw-r--r--app/main.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/main.cpp b/app/main.cpp
index b4c5be3..dfd3a51 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -27,8 +27,6 @@
#include <QtQuickControls2/QQuickStyle>
#include <QQuickWindow>
#include <libhomescreen.hpp>
-#include <bluetooth.h>
-#include <network.h>
#include <qlibwindowmanager.h>
class DBus : public QObject
@@ -85,7 +83,6 @@ 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();
@@ -143,7 +140,6 @@ int main(int argc, char *argv[])
DBus dbus;
engine.rootContext()->setContextProperty("dbus", &dbus);
- engine.rootContext()->setContextProperty("bluetooth", new Bluetooth(bindingAddressWS));
engine.rootContext()->setContextProperty(QStringLiteral("screenInfo"), &screenInfo);
engine.load(QUrl(QStringLiteral("qrc:/Settings.qml")));
QObject *root = engine.rootObjects().first();