From d7c3d2cfd79d854244d3ab70ab2fc76096b0e734 Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Mon, 16 Feb 2015 18:41:49 +0100 Subject: [PATCH] Remove deprecated aboutData.setProgramIconName --- shell/currentcontainmentactionsmodel.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shell/currentcontainmentactionsmodel.cpp b/shell/currentcontainmentactionsmodel.cpp index 93d0745cc..82c149f49 100644 --- a/shell/currentcontainmentactionsmodel.cpp +++ b/shell/currentcontainmentactionsmodel.cpp @@ -234,11 +234,10 @@ void CurrentContainmentActionsModel::showAbout(int row) QByteArray(), info.website().toLatin1(), info.email().toLatin1()); - aboutData.setProgramIconName(info.icon()); - aboutData.addAuthor(ki18n(info.author().toUtf8()).toString(), QByteArray(), info.email().toLatin1()); KAboutApplicationDialog *aboutDialog = new KAboutApplicationDialog(aboutData, qobject_cast(parent())); + aboutDialog->setWindowIcon(QIcon::fromTheme(info.icon())); aboutDialog->show(); }