Uncomment the instantiation of the Network object in main, the
connman-glib Qt6 issues have been fixed.
Bug-AGL: SPEC-5294
Change-Id: I9a3e27281b5455bddf5063ae664c5d0b4d007799
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
// 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")));