Commit 122a7ded authored by Nate Graham's avatar Nate Graham 🔩

[applet/taskmanager] Remove unnecessary icon size values set on PC3 toolbuttons

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

Test Plan:
No change whatsoever in the task manager media playback tooltip
icon sizes

Reviewers: #vdg, #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D28236
parent 5a5e0bc0
......@@ -303,16 +303,12 @@ ColumnLayout {
PlasmaComponents3.ToolButton {
enabled: canGoBack
icon.name: LayoutMirroring.enabled ? "media-skip-forward" : "media-skip-backward"
icon.height: units.iconSizes.smallMedium
icon.width: units.iconSizes.smallMedium
onClicked: mpris2Source.goPrevious(mprisSourceName)
}
PlasmaComponents3.ToolButton {
enabled: playing ? canPause : canPlay
icon.name: playing ? "media-playback-pause" : "media-playback-start"
icon.height: units.iconSizes.smallMedium
icon.width: units.iconSizes.smallMedium
onClicked: {
if (!playing) {
mpris2Source.play(mprisSourceName);
......@@ -325,8 +321,6 @@ ColumnLayout {
PlasmaComponents3.ToolButton {
enabled: canGoNext
icon.name: LayoutMirroring.enabled ? "media-skip-backward" : "media-skip-forward"
icon.height: units.iconSizes.smallMedium
icon.width: units.iconSizes.smallMedium
onClicked: mpris2Source.goNext(mprisSourceName)
}
}
......
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