summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2024-11-22 16:06:48 -0500
committerScott Murray <scott.murray@konsulko.com>2024-11-22 16:16:12 -0500
commit1b6527c1f74dfa97c899b6f3b21f612eac574753 (patch)
tree162d17c53ba0cad10ca9f2cfcc84d7cf22f75a34 /app
parent42aa6758872eed147d397c439ec7166cb2720d67 (diff)
Re-enable network configurationHEADmaster
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>
Diffstat (limited to 'app')
-rw-r--r--app/main.cpp5
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")));