From a889968e2528d8bdecb31384b7813dc5e0de8153 Mon Sep 17 00:00:00 2001 From: "Mr. Athozus" Date: Mon, 29 Apr 2024 00:27:30 +0200 Subject: [PATCH] Use activated icon in status bar when Bluetooth is connected --- components/mobileshell/qml/dataproviders/BluetoothInfo.qml | 2 +- .../mobileshell/qml/statusbar/indicators/BluetoothIndicator.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/mobileshell/qml/dataproviders/BluetoothInfo.qml b/components/mobileshell/qml/dataproviders/BluetoothInfo.qml index 48f1e40b..f880dcd6 100644 --- a/components/mobileshell/qml/dataproviders/BluetoothInfo.qml +++ b/components/mobileshell/qml/dataproviders/BluetoothInfo.qml @@ -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 diff --git a/components/mobileshell/qml/statusbar/indicators/BluetoothIndicator.qml b/components/mobileshell/qml/statusbar/indicators/BluetoothIndicator.qml index f7830997..a92faf78 100644 --- a/components/mobileshell/qml/statusbar/indicators/BluetoothIndicator.qml +++ b/components/mobileshell/qml/statusbar/indicators/BluetoothIndicator.qml @@ -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 }