mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Port away from Milou.ResultsListView
It's just ResultsView with a specific delegate, but here we override the delegate anyway
This commit is contained in:
parent
37dcef56d9
commit
c526bb5968
1 changed files with 2 additions and 2 deletions
|
|
@ -98,7 +98,7 @@ MouseArea {
|
||||||
Layout.rightMargin: Kirigami.Units.gridUnit
|
Layout.rightMargin: Kirigami.Units.gridUnit
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
|
||||||
Milou.ResultsListView {
|
Milou.ResultsView {
|
||||||
id: listView
|
id: listView
|
||||||
queryString: queryField.text
|
queryString: queryField.text
|
||||||
clip: true
|
clip: true
|
||||||
|
|
@ -158,7 +158,7 @@ MouseArea {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Used by ResultsListView to determine next tab action
|
// Used by ResultsView to determine next tab action
|
||||||
function activateNextAction() {
|
function activateNextAction() {
|
||||||
queryField.forceActiveFocus();
|
queryField.forceActiveFocus();
|
||||||
queryField.selectAll();
|
queryField.selectAll();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue