From 33a9383df55a39b2ea2322808bb38fbed5db33b1 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Mon, 17 Apr 2017 11:50:45 +0200 Subject: remove filter bar, allow filter through the global search --- framework/qml/MailListView.qml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'framework') diff --git a/framework/qml/MailListView.qml b/framework/qml/MailListView.qml index 27fae7c2..fc40074d 100644 --- a/framework/qml/MailListView.qml +++ b/framework/qml/MailListView.qml @@ -32,7 +32,7 @@ Item { property bool isTrash : false property bool isUnread : false property int currentIndex - property string filterString: searchBar.text; + property string filterString onParentFolderChanged: { currentMail = null @@ -131,13 +131,6 @@ Item { } } - TextField { - id: searchBar - anchors.top: toolbar.bottom - width: parent.width - placeholderText: qsTr("Filter...") - } - Label { anchors.top: searchBar.bottom visible: listView.count === 0 @@ -148,7 +141,7 @@ Item { ListView { id: listView - anchors.top: searchBar.bottom + anchors.top: toolbar.bottom width: parent.width height: parent.height - toolbar.height -- cgit v1.2.3