[krunner] Remove pin and help buttons

wilder-5.26-rebase
Jacopo De Simoi 4 years ago
parent 11f4500f97
commit ae9d9cb546
  1. 24
      krunner/qml/RunCommand.qml

@ -218,30 +218,6 @@ ColumnLayout {
}
}
}
PlasmaComponents3.ToolButton {
visible: runnerWindow.helpEnabled
checkable: true
checked: root.query.startsWith("?")
// Reset if out quers starts with "?", otherwise set it to "?"
onClicked: root.query = root.query.startsWith("?") ? "" : "?"
icon.name: "question"
Accessible.name: i18n("Show Usage Help")
Accessible.description: i18n("Show Usage Help")
PlasmaComponents3.ToolTip {
text: i18n("Show Usage Help")
}
}
PlasmaComponents3.ToolButton {
checkable: true
checked: runnerWindow.pinned
onToggled: runnerWindow.pinned = checked
icon.name: "window-pin"
Accessible.name: i18n("Pin")
Accessible.description: i18n("Pin Search")
PlasmaComponents3.ToolTip {
text: i18n("Keep Open")
}
}
}
PlasmaComponents3.ScrollView {

Loading…
Cancel
Save