[SCM] ktp-contact-list packaging branch, master, updated. debian/15.12.1-2-1070-g6c56f91

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:12:18 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=904681b

The following commit has been merged in the master branch:
commit 904681b565861571d06065f772e1cd575e946bba
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date:   Fri Feb 1 18:32:14 2013 +0100

    Porting++
---
 contact-list-widget.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contact-list-widget.cpp b/contact-list-widget.cpp
index 7fb2ad8..d3ad541 100644
--- a/contact-list-widget.cpp
+++ b/contact-list-widget.cpp
@@ -316,7 +316,7 @@ void ContactListWidget::toggleSortByPresence(bool sort)
 {
     Q_D(ContactListWidget);
 
-    d->modelFilter->setSortMode(sort ? KTp::ContactsFilterModel::SortByPresence : KTp::ContactsFilterModel::DoNotSort);
+    d->modelFilter->setSortRole(sort ? KTp::ContactPresenceTypeRole : Qt::DisplayRole);
 }
 
 void ContactListWidget::startTextChannel(const Tp::AccountPtr &account, const Tp::ContactPtr &contact)

-- 
ktp-contact-list packaging



More information about the pkg-kde-commits mailing list