[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:05:41 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=3b372cf
The following commit has been merged in the master branch:
commit 3b372cf8360be09a3d5e959a59092142370cff7f
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date: Sun Mar 20 22:40:48 2011 +0100
Show a status emblem on account icon when the account is loaded
---
account-button.cpp | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/account-button.cpp b/account-button.cpp
index 962835c..690c98e 100644
--- a/account-button.cpp
+++ b/account-button.cpp
@@ -98,6 +98,12 @@ AccountButton::AccountButton(const Tp::AccountPtr &account, QWidget* parent)
if (m_account->currentPresence().status() == qVariantValue<Tp::Presence>(a->data()).status()) {
a->setChecked(true);
+
+ QPixmap pixmap = icon().pixmap(32, 32);
+ QPainter painter(&pixmap);
+ KIcon(a->icon()).paint(&painter, 15, 15, 16, 16);
+
+ setIcon(KIcon(pixmap));
}
}
--
ktp-contact-list packaging
More information about the pkg-kde-commits
mailing list