Commit b14ccd78 authored by Nicolas Fella's avatar Nicolas Fella

Merge branch 'SearchField' into 'master'

Use Kirigami.SearchField

See merge request !2
parents cbff181f e3bed0cf
......@@ -21,7 +21,7 @@
import QtQuick 2.2
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.4
import org.kde.kirigami 2.0 as Kirigami
import org.kde.kirigami 2.8 as Kirigami
import org.kde.ktrip 0.1
Kirigami.Page
......@@ -29,9 +29,8 @@ Kirigami.Page
property bool showCached: true
property var callback
header: TextField {
header: Kirigami.SearchField {
id: queryTextField
placeholderText: i18n("Search...")
onAccepted: {
queryModel.query = text
showCached = false
......
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