Commit a0bc4ed7 authored by Nicolas Fella's avatar Nicolas Fella

[applet] Add tooltip to enable bluetooth checkbox

Summary: Thoroughly inspired by what plasma-nm does

Reviewers: #plasma, #vdg, drosca, apol, ngraham

Reviewed By: #vdg, apol, ngraham

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D28077
parent 664ead7c
......@@ -29,6 +29,7 @@ Item {
property alias icon: switchButtonIcon.source
property alias checked: switchButtonCheckbox.checked
property alias enabled: switchButtonCheckbox.enabled
property alias tooltip: switchButtonCheckbox.tooltip
signal clicked
......
......@@ -46,6 +46,7 @@ Item {
checked: btManager.bluetoothOperational
enabled: btManager.bluetoothBlocked || btManager.adapters.length
icon: "preferences-system-bluetooth"
tooltip: i18n("Enable Bluetooth")
onClicked: toggleBluetooth()
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment