diff options
Diffstat (limited to 'app/main.cpp')
-rw-r--r-- | app/main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/main.cpp b/app/main.cpp index 35b4c0e..776cc08 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -78,9 +78,8 @@ int main(int argc, char *argv[]) // active auto-connect that was in agl-service-bluetooth. The latter is // now dependent on this application being run until further re-architecting // takes place. - // Network *network = new Network(true, context); - // network->power(true, QString("bluetooth")); - QObject *network = new QObject(context); // prevent crash + Network *network = new Network(true, context); + network->power(true, QString("bluetooth")); context->setContextProperty("network", network); engine.load(QUrl(QStringLiteral("qrc:/Settings.qml"))); |