Commit 5244e2be authored by Nate Graham's avatar Nate Graham 🔩

[applets/digital-clock] Use Kirigami.SearchField for search field

That's what it was made for; might as well use it. This gives it a
"clear" button for free.

BUG: 354239
FIXED-IN: 5.21
parent 706014c0
......@@ -25,7 +25,7 @@ import QtQuick.Dialogs 1.1
import org.kde.plasma.private.digitalclock 1.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.kirigami 2.5 as Kirigami
import org.kde.kirigami 2.8 as Kirigami
ColumnLayout {
id: timeZonesPage
......@@ -54,10 +54,9 @@ ColumnLayout {
showCloseButton: true
}
QQC2.TextField {
Kirigami.SearchField {
id: filter
Layout.fillWidth: true
placeholderText: i18n("Search Time Zones")
}
Item {
......
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