[SCM] ktp-common-internals packaging branch, master, updated. debian/15.12.1-2-1839-gf0635e9
Maximiliano Curia
maxy at moszumanska.debian.org
Mon May 9 09:08:39 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=1eb28ef
The following commit has been merged in the master branch:
commit 1eb28eff3eb3e9ffed49c99933e1e93073d67fbb
Author: Martin Klapetek <mklapetek at kde.org>
Date: Fri Jan 30 20:59:56 2015 +0100
Remove the contact grayscaling from KTp::Contact
This is a UI thing after all, so now it's moved to the contact list
---
KTp/contact.cpp | 6 ------
1 file changed, 6 deletions(-)
diff --git a/KTp/contact.cpp b/KTp/contact.cpp
index fcde1a4..5341e98 100644
--- a/KTp/contact.cpp
+++ b/KTp/contact.cpp
@@ -184,15 +184,9 @@ QPixmap KTp::Contact::avatarPixmap()
//if neither above succeeded, return empty QPixmap,
//PersonsModel will return the default icon instead
if (avatar.isNull()) {
-
return QPixmap();
}
- //if the contact is offline, gray it out
- if (presence().type() == Tp::ConnectionPresenceTypeOffline) {
- avatarToGray(avatar);
- }
-
//insert the contact into pixmap cache for faster lookup
QPixmapCache::insert(keyCache(), avatar);
}
--
ktp-common-internals packaging
More information about the pkg-kde-commits
mailing list