[applets/batterymonitor] BrightnessItem: Rename root id

Renames it to a short and much more common id 'root'.

GIT_SILENT
wilder-5.24
ivan tkachenko 4 years ago
parent 32c91665d5
commit dc04e774a9
No known key found for this signature in database
GPG Key ID: 4D197017E61437CF
  1. 5
      applets/batterymonitor/package/contents/ui/BrightnessItem.qml

@ -12,7 +12,8 @@ import org.kde.plasma.components 3.0 as PlasmaComponents3
import org.kde.plasma.core 2.1 as PlasmaCore
RowLayout {
id: item
id: root
property alias icon: brightnessIcon.source
property alias label: brightnessLabel.text
property alias slider: brightnessSlider
@ -65,7 +66,7 @@ RowLayout {
// Please see https://git.reviewboard.kde.org/r/122505/ for more information
from: to > 100 ? 1 : 0
stepSize: 1
onMoved: item.moved()
onMoved: root.moved()
}
}
}

Loading…
Cancel
Save