[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:49 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=f185e60
The following commit has been merged in the master branch:
commit f185e608598aa3fd0656e96c3ac0c3d784963074
Author: David Edmundson <kde at davidedmundson.co.uk>
Date: Tue Mar 5 01:11:56 2013 +0000
Fix drag and drop
A line had been accidentally commented out in the porting, and was missed being restored
REVIEW: 109287
---
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 763374a..c3a8ec4 100644
--- a/contact-list-widget.cpp
+++ b/contact-list-widget.cpp
@@ -726,7 +726,7 @@ void ContactListWidget::dropEvent(QDropEvent *event)
if (index.data(KTp::RowTypeRole).toInt() == KTp::GroupRowType) {
// contact is dropped on a group, so take it's name
targetGroup = index.data(KTp::IdRole).toString();
-// } else if (index.data(ContactsModel::TypeRole).toInt() == KTp::ContactRowType) {
+ } else if (index.data(KTp::RowTypeRole).toInt() == KTp::ContactRowType) {
// contact is dropped on another contact, so take it's parents (group) name
targetGroup = index.parent().data(KTp::IdRole).toString();
}
--
ktp-contact-list packaging
More information about the pkg-kde-commits
mailing list