diff options
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index 8128fbce3..10b72d9f9 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -94,8 +94,8 @@ QMLManager::QMLManager() : m_locationServiceEnabled(false), alreadySaving(false) { #if defined(BT_SUPPORT) - if (localBtDevice.isValid()) { - localBtDevice.powerOn(); + if (localBtDevice.isValid() && + localBtDevice.hostMode() == QBluetoothLocalDevice::HostConnectable) { QStringList pairedBT = getBluetoothDevices(); for (int i = 0; i < pairedBT.length(); i++) { |