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


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

The following commit has been merged in the master branch:
commit c78153d5b17f0673ae5d7dbc6d5e7336dedf344e
Author: Olaf Piesche <opiesche at gmail.com>
Date:   Sat May 3 20:49:05 2014 +0200

    Scale icons in presence chooser.
    
    Scaling icons in the presence chooser tool tip.
    The tooltip contains HTML, and the icons for accounts weren't scaled at all.
    
    REVIEW: 117977
    BUG: 333604
    FIXED-IN: 0.8.2
---
 global-presence-chooser.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/global-presence-chooser.cpp b/global-presence-chooser.cpp
index 14afd5d..66afe6c 100644
--- a/global-presence-chooser.cpp
+++ b/global-presence-chooser.cpp
@@ -226,7 +226,7 @@ bool GlobalPresenceChooser::event(QEvent *e)
                 QString presenceIconPath = KIconLoader::global()->iconPath(accountPresence.icon().name(), 1);
                 QString presenceIconString = QString::fromLatin1("<img src=\"%1\">").arg(presenceIconPath);
                 QString accountIconPath = KIconLoader::global()->iconPath(account->iconName(), 1);
-                QString accountIconString = QString::fromLatin1("<img src=\"%1\">").arg(accountIconPath);
+                QString accountIconString = QString::fromLatin1("<img src=\"%1\" width=\"%2\" height=\"%2\">").arg(accountIconPath).arg(KIconLoader::SizeSmallMedium);
                 QString presenceString;
                 if (account->connectionStatus() == Tp::ConnectionStatusConnecting) {
                     presenceString = i18nc("Presence string when the account is connecting", "Connecting...");

-- 
ktp-contact-list packaging



More information about the pkg-kde-commits mailing list