Commit 6f0b468c authored by Volker Krause's avatar Volker Krause
Browse files

Port away from about to be deprecated IconSize() method

parent 3fb62021
......@@ -134,7 +134,7 @@ void AttachmentPropertiesDialog::Private::mimeTypeChanged(const QString &type)
if (mimeType.isValid()) {
pix = KIconLoader::global()->loadMimeTypeIcon(mimeType.iconName(), KIconLoader::Desktop);
} else {
pix = QIcon::fromTheme(QStringLiteral("unknown")).pixmap(IconSize(KIconLoader::Desktop), IconSize(KIconLoader::Desktop));
pix = QIcon::fromTheme(QStringLiteral("unknown")).pixmap(q->style()->pixelMetric(QStyle::PM_MessageBoxIconSize));
if (mReadOnly) {
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