Commit b11fcb06 authored by Laurent Montel's avatar Laurent Montel 😁

Fix Bug 357374 - Huge Skype and Google Talk icons in Contacts panel view

BUG: 357374
FIXED-IN: 5.1.3
parent 63b62d1f
......@@ -174,7 +174,7 @@ static QVariantHash imAddressHash(const QString &typeKey, const QString &imAddre
const QString iconUrl = QUrl::fromLocalFile(KIconLoader::global()->iconPath(IMProtocols::self()->icon(typeKey),
-KIconLoader::SizeSmall)).url();
const QString url = QStringLiteral("<img src=\"%1\" align=\"top\"/>").arg(iconUrl);
const QString url = QStringLiteral("<img src=\"%1\" align=\"top\" height=\"%2\" width=\"%2\"/>").arg(iconUrl, QString::number(KIconLoader::SizeSmall));
addressObject.insert(QStringLiteral("imIcon"), url);
return addressObject;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment