[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:13:46 UTC 2016


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

The following commit has been merged in the master branch:
commit 68b956f6785051435e2c42ef030c294382661a3d
Author: David Edmundson <kde at davidedmundson.co.uk>
Date:   Fri Aug 16 06:46:54 2013 +0100

    Don't collapse groups when selecting persons
---
 contact-list-widget.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contact-list-widget.cpp b/contact-list-widget.cpp
index 68f2dfa..d5eb643 100644
--- a/contact-list-widget.cpp
+++ b/contact-list-widget.cpp
@@ -235,9 +235,9 @@ void ContactListWidget::onContactListClicked(const QModelIndex& index)
     if (index.parent() != d->selectedIndex && d->selectedIndex.parent() != index) {
         if (index.data(KTp::RowTypeRole).toInt() == KTp::PersonRowType) {
             expand(index);
+            collapse(d->selectedIndex);
+            d->selectedIndex = index;
         }
-        collapse(d->selectedIndex);
-        d->selectedIndex = index;
     }
 }
 

-- 
ktp-contact-list packaging



More information about the pkg-kde-commits mailing list