[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:11:01 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=7736428
The following commit has been merged in the master branch:
commit 7736428a25a747e29b86aa34fe4487d448b9292d
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date: Mon Jul 16 15:28:09 2012 +0200
Prevent painting of overlay buttons over account tree items by checking if it is actually a contact or not
Reviewed-by: David Edmundson
---
contact-overlays.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contact-overlays.cpp b/contact-overlays.cpp
index b6faeda..8ea1b1a 100644
--- a/contact-overlays.cpp
+++ b/contact-overlays.cpp
@@ -121,7 +121,7 @@ void StartChannelContactOverlay::slotClicked(bool checked)
bool StartChannelContactOverlay::checkIndex(const QModelIndex& index) const
{
- return index.data(m_capabilityRole).toBool();
+ return index.data(m_capabilityRole).toBool() && index.data(AccountsModel::ItemRole).userType() == qMetaTypeId<ContactModelItem*>();
}
// ------------------------------------------------------------------------
--
ktp-contact-list packaging
More information about the pkg-kde-commits
mailing list