Commit 8b2b1119 authored by Martin Flöser's avatar Martin Flöser

[kcmkwin/desktop] Use KAboutData::programLogo instead of programIconName

ProgramIconName is deprecated and what we want to achieve is actually
provided by programLogo.
parent ca84a81e
......@@ -580,7 +580,7 @@ void KWinDesktopConfig::slotAboutEffectClicked()
const QString icon = pluginInfo.icon();
KAboutData aboutData(name, name, version, comment, KAboutLicense::byKeyword(license).key(), QString(), QString(), website.toLatin1());
aboutData.setProgramIconName(icon);
aboutData.setProgramLogo(icon);
const QStringList authors = author.split(',');
const QStringList emails = email.split(',');
int i = 0;
......@@ -600,7 +600,7 @@ void KWinDesktopConfig::slotAboutEffectClicked()
QStringLiteral(KWIN_VERSION_STRING),
data.comment,
KAboutLicense::GPL_V2);
aboutData.setProgramIconName(QStringLiteral("preferences-system-windows"));
aboutData.setProgramLogo(QIcon::fromTheme(QStringLiteral("preferences-system-windows")));
aboutData.addAuthor(i18n("KWin development team"));
showDialog(aboutData);
}
......
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