[applets/systemtray] Mark a read-only property with 'readonly'

wilder-portage-prov
Nate Graham 6 years ago
parent 32e43ecf03
commit 73616e78aa
  1. 2
      applets/systemtray/package/contents/ui/main.qml

@ -38,7 +38,7 @@ MouseArea {
LayoutMirroring.enabled: !vertical && Qt.application.layoutDirection === Qt.RightToLeft
LayoutMirroring.childrenInherit: true
property bool vertical: plasmoid.formFactor === PlasmaCore.Types.Vertical
readonly property bool vertical: plasmoid.formFactor === PlasmaCore.Types.Vertical
// Used only by AbstractItem, but it's easiest to keep it here since it
// uses dimensions from this item to calculate the final value

Loading…
Cancel
Save