summaryrefslogtreecommitdiffstats
path: root/app/Settings.qml
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-04-30 18:33:25 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-05-12 22:38:47 -0700
commit92aaf1c4ab97aada3b5bd864ffebda4c79158f3e (patch)
tree33c0a71fd9738ed6856929ce4edacd231f3b14a5 /app/Settings.qml
parentee0db5e1d151af9fc4cb84de1d7cd7b87a7d1040 (diff)
bluetooth: allow detection of bluetooth enabled
Bluetooth can now be enabled via connmand dbus service, and needs to detect if already enabled. Change-Id: I279a571b89381579eb05705410210a9266039377 Bug-AGL: SPEC-570 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app/Settings.qml')
-rw-r--r--app/Settings.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Settings.qml b/app/Settings.qml
index 0d74c3b..56767f3 100644
--- a/app/Settings.qml
+++ b/app/Settings.qml
@@ -50,6 +50,7 @@ ApplicationWindow {
settingsModel.append({'icon': app.icon, 'title': app.title, 'checkable': app.checkable, 'app': app})
app.visible = false
+ if (app.isBluetooth) app.checkBluetooth()
if (app.isWifi) app.activateWifi()
}
}