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


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

The following commit has been merged in the master branch:
commit 89b5460e52fdcd667f7d8a4ad10bf0832ea88516
Author: David Edmundson <kde at davidedmundson.co.uk>
Date:   Thu Sep 12 00:29:23 2013 +0100

    Don't expand contacts on click
---
 contact-list-widget.cpp | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/contact-list-widget.cpp b/contact-list-widget.cpp
index 6a7a5cf..d42ce7c 100644
--- a/contact-list-widget.cpp
+++ b/contact-list-widget.cpp
@@ -258,14 +258,6 @@ void ContactListWidget::onContactListClicked(const QModelIndex& index)
         //replace the old value or insert new value if it isn't there yet
         d->groupStates.insert(groupId, isExpanded(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;
-        }
-    }
 }
 
 void ContactListWidget::onContactListDoubleClicked(const QModelIndex &index)

-- 
ktp-contact-list packaging



More information about the pkg-kde-commits mailing list