Commit 6a20aebc authored by Nate Graham's avatar Nate Graham 🔩

[toolboxes/desktoptoolbox] Remove unnecessary icon size values for PC3 toolbuttons

`units.iconSizes.smallMedium` is the default size, so setting the
icon size to this has no effect and is unnecessary.

Same as D28236
parent 122a7ded
......@@ -205,26 +205,22 @@ Item {
property QtObject qAction: plasmoid.action("add widgets")
text: qAction.text
icon.name: "list-add"
icon.height: units.iconSizes.smallMedium
onClicked: qAction.trigger()
}
PlasmaComponents3.ToolButton {
property QtObject qAction: plasmoid.globalAction("manage activities")
text: qAction.text
icon.name: "activities"
icon.height: units.iconSizes.smallMedium
onClicked: qAction.trigger()
}
PlasmaComponents3.ToolButton {
property QtObject qAction: plasmoid.action("configure")
text: qAction.text
icon.name: "preferences-desktop-wallpaper"
icon.height: units.iconSizes.smallMedium
onClicked: qAction.trigger()
}
PlasmaComponents3.ToolButton {
icon.name: "window-close"
icon.height: units.iconSizes.smallMedium
Layout.preferredWidth: height
onClicked: plasmoid.editMode = false
PlasmaComponents3.ToolTip {
......
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