mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Use activated icon in status bar when Bluetooth is connected
This commit is contained in:
parent
0e01bd291f
commit
a889968e25
2 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ import org.kde.bluezqt 1.0 as BluezQt
|
|||
QtObject {
|
||||
id: root
|
||||
readonly property bool isVisible: BluezQt.Manager.bluetoothOperational
|
||||
readonly property string icon: deviceConnected ? "preferences-system-bluetooth-activated" : "preferences-system-bluetooth"
|
||||
readonly property string icon: deviceConnected ? "network-bluetooth-activated" : "network-bluetooth"
|
||||
|
||||
property bool deviceConnected: false
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ import org.kde.plasma.private.mobileshell as MobileShell
|
|||
Kirigami.Icon {
|
||||
id: connectionIcon
|
||||
|
||||
source: "network-bluetooth"
|
||||
source: MobileShell.BluetoothInfo.icon
|
||||
|
||||
visible: MobileShell.BluetoothInfo.isVisible
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue