effects/overview: Give the "Delete desktop" button a tooltip

Icons-only buttons always need tooltips, even when they use a completely
recognizable icon.
This commit is contained in:
Nate Graham 2021-10-24 12:17:34 -06:00
parent 6d7d8ea699
commit 4605fdcaa5

View file

@ -153,6 +153,10 @@ Item {
sourceComponent: PC3.Button { sourceComponent: PC3.Button {
icon.name: "delete" icon.name: "delete"
onClicked: delegate.remove() onClicked: delegate.remove()
PC3.ToolTip {
text: i18n("Delete virtual desktop")
}
} }
} }