[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:52 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=35410f7
The following commit has been merged in the master branch:
commit 35410f70c6c404a4974ca4a0c67d7005a9d2cdff
Author: Aleix Pol <aleixpol at kde.org>
Date: Tue Sep 3 01:49:12 2013 +0200
Let persons be dragged as well
This way we don't have to think if we're dragging a person to a contact,
a person and a person or any of the combinations.
It just works, as David likes.
Reviewed by David
---
contact-list-widget.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/contact-list-widget.cpp b/contact-list-widget.cpp
index a741b3e..1de5482 100644
--- a/contact-list-widget.cpp
+++ b/contact-list-widget.cpp
@@ -637,8 +637,9 @@ void ContactListWidget::mousePressEvent(QMouseEvent *event)
d->shouldDrag = false;
d->dragSourceGroup.clear();
- // if no contact, no drag
- if (index.data(KTp::RowTypeRole).toInt() != KTp::ContactRowType) {
+ // if no contact or person, no drag
+ int type = index.data(KTp::RowTypeRole).toInt();
+ if (type != KTp::ContactRowType && type != KTp::PersonRowType ) {
return;
}
--
ktp-contact-list packaging
More information about the pkg-kde-commits
mailing list