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


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

The following commit has been merged in the master branch:
commit f94b22d6d156107df3a9d3ca514c7bf7ba04b0fb
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date:   Fri Jan 13 16:16:00 2012 +0100

    Load bigger icon and scale it down because the icons with the frame look ugly that small
    
    TODO: Request nice icons for 16x16
    
    Reviewedy-and-discovered-by: Daniele E. Domenichelli
---
 abstract-contact-delegate.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/abstract-contact-delegate.cpp b/abstract-contact-delegate.cpp
index e32e623..1cb6589 100644
--- a/abstract-contact-delegate.cpp
+++ b/abstract-contact-delegate.cpp
@@ -38,7 +38,7 @@
 #include <KTp/Models/contact-model-item.h>
 
 const int SPACING = 2;
-const int ACCOUNT_ICON_SIZE = 13;
+const int ACCOUNT_ICON_SIZE = 16;
 
 AbstractContactDelegate::AbstractContactDelegate(QObject* parent)
         : QStyledItemDelegate(parent), m_palette(0)
@@ -108,7 +108,7 @@ void AbstractContactDelegate::paintHeader(QPainter *painter, const QStyleOptionV
 
     if (index.data(AccountsModel::ItemRole).userType() == qMetaTypeId<AccountsModelItem*>()) {
         painter->drawPixmap(accountGroupRect, KIcon(index.data(AccountsModel::IconRole).toString())
-                            .pixmap(ACCOUNT_ICON_SIZE, ACCOUNT_ICON_SIZE));
+                            .pixmap(32));
     } else {
         painter->drawPixmap(accountGroupRect, KIconLoader::global()->loadIcon(QString("system-users"),
                             KIconLoader::Desktop));

-- 
ktp-contact-list packaging



More information about the pkg-kde-commits mailing list