diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-04-17 11:50:45 +0200 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-04-17 11:50:45 +0200 |
commit | 33a9383df55a39b2ea2322808bb38fbed5db33b1 (patch) | |
tree | 8f28a862554ab038c49ea97986d71b8e99c95dc3 /framework/qml/MailListView.qml | |
parent | ec48ea0cf01d306c0a9283e485f8c37d7d4d1ebd (diff) | |
download | kube-33a9383df55a39b2ea2322808bb38fbed5db33b1.tar.gz kube-33a9383df55a39b2ea2322808bb38fbed5db33b1.zip |
remove filter bar, allow filter through the global search
Diffstat (limited to 'framework/qml/MailListView.qml')
-rw-r--r-- | framework/qml/MailListView.qml | 11 |
1 files changed, 2 insertions, 9 deletions
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 { | |||
32 | property bool isTrash : false | 32 | property bool isTrash : false |
33 | property bool isUnread : false | 33 | property bool isUnread : false |
34 | property int currentIndex | 34 | property int currentIndex |
35 | property string filterString: searchBar.text; | 35 | property string filterString |
36 | 36 | ||
37 | onParentFolderChanged: { | 37 | onParentFolderChanged: { |
38 | currentMail = null | 38 | currentMail = null |
@@ -131,13 +131,6 @@ Item { | |||
131 | } | 131 | } |
132 | } | 132 | } |
133 | 133 | ||
134 | TextField { | ||
135 | id: searchBar | ||
136 | anchors.top: toolbar.bottom | ||
137 | width: parent.width | ||
138 | placeholderText: qsTr("Filter...") | ||
139 | } | ||
140 | |||
141 | Label { | 134 | Label { |
142 | anchors.top: searchBar.bottom | 135 | anchors.top: searchBar.bottom |
143 | visible: listView.count === 0 | 136 | visible: listView.count === 0 |
@@ -148,7 +141,7 @@ Item { | |||
148 | ListView { | 141 | ListView { |
149 | id: listView | 142 | id: listView |
150 | 143 | ||
151 | anchors.top: searchBar.bottom | 144 | anchors.top: toolbar.bottom |
152 | 145 | ||
153 | width: parent.width | 146 | width: parent.width |
154 | height: parent.height - toolbar.height | 147 | height: parent.height - toolbar.height |