[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:13 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=838ce6f

The following commit has been merged in the master branch:
commit 838ce6f23389ed76b37a806aa606c2f5a2b5c775
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date:   Wed May 1 15:25:46 2013 +0200

    Use runtime icon sizes rather than build time constants
---
 tooltips/contacttooltip.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tooltips/contacttooltip.cpp b/tooltips/contacttooltip.cpp
index 288adfc..93a7e5c 100644
--- a/tooltips/contacttooltip.cpp
+++ b/tooltips/contacttooltip.cpp
@@ -64,7 +64,9 @@ ContactToolTip::ContactToolTip(const QModelIndex &index) :
         presenceMessage.clear();
     }
 
-    ui->presenceIcon->setPixmap(presence.icon().pixmap(KIconLoader::SizeSmall, KIconLoader::SizeSmall));
+    int smallIconSize = KIconLoader::global()->currentSize(KIconLoader::Small);
+
+    ui->presenceIcon->setPixmap(presence.icon().pixmap(smallIconSize, smallIconSize));
     ui->presenceLabel->setText(presenceText);
     ui->presenceMessageLabel->setText(presenceMessage);
     ui->blockedLabel->setShown(index.data(KTp::ContactIsBlockedRole).toBool());

-- 
ktp-contact-list packaging



More information about the pkg-kde-commits mailing list