Skip to content

Commit

Permalink
[bluez] Fixup start plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
neochapay committed Mar 12, 2024
1 parent fbdfd2f commit 78f20ff
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/plugins/bluez/bluez.qml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2017-2022 Chupligin Sergey <[email protected]>
* Copyright (C) 2017-2024 Chupligin Sergey <[email protected]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
Expand All @@ -16,11 +16,11 @@
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
import QtQuick 2.6
import QtQuick.Window 2.1
import QtQuick
import QtQuick.Window

import Nemo.Controls
import Nemo.Models
import org.nemomobile.models

import Connman 0.2
import org.kde.bluezqt 1.0 as BluezQt
Expand All @@ -44,12 +44,12 @@ Page {
id: bluetoothModel
name: "bluetooth"

onPoweredChanged: {
onPoweredChanged: function(powered) {
bluetoothTimer.stop();
columnCheckBox.indeterminate = false
columnCheckBox.checked = bluetoothModel.powered

if(powered) {
if(powered && _adapter) {
_adapter.startDiscovery()
}
}
Expand Down

0 comments on commit 78f20ff

Please sign in to comment.