summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Poboiko <[email protected]>2015-09-17 20:42:36 +0200
committerIgor Poboiko <[email protected]>2015-09-17 20:42:36 +0200
commit0a7d8659601a04b40c9d547909453a41e40264f2 (patch)
treef9aad574a310888c6a9b1cff307c618bcc7f39d7
parentb61cdb15b1cda5b96bb66049a6e85edd91412800 (diff)
Search also for offline contacts in contactlist applet
-rw-r--r--contactlist/org.kde.ktp-contactlist/contents/ui/ContactList.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/contactlist/org.kde.ktp-contactlist/contents/ui/ContactList.qml b/contactlist/org.kde.ktp-contactlist/contents/ui/ContactList.qml
index 70f6c51..fd2aca4 100644
--- a/contactlist/org.kde.ktp-contactlist/contents/ui/ContactList.qml
+++ b/contactlist/org.kde.ktp-contactlist/contents/ui/ContactList.qml
@@ -120,7 +120,7 @@ Item {
model: KTp.ContactsModel {
id: contactsModel
accountManager: telepathyManager.accountManager
- presenceTypeFilterFlags: KTp.ContactsModel.HideAllOffline
+ presenceTypeFilterFlags: (filterLineEdit.text == "") ? KTp.ContactsModel.HideAllOffline : KTp.ContactsModel.DoNotFilterByPresence
globalFilterString: filterLineEdit.text
sortRoleString: "presenceType"
}