Commit 677f9398 authored by Volker Krause's avatar Volker Krause
Browse files

Don't manually propagate sub-window icons

Summary:
Happens automatically nowadays. Also removes another use of the about to
be deprecated IconSize() method.

Reviewers: mlaurent

Reviewed By: mlaurent

Subscribers: kde-pim

Tags: #kde_pim

Maniphest Tasks: T11637

Differential Revision: https://phabricator.kde.org/D25899
parent fe75c132
......@@ -37,9 +37,7 @@
#include "configuredialog.h"
#include <KWindowSystem>
#include <KConfig>
#include <KIconLoader>
#include <KLocalizedString>
#include <KConfigGroup>
#include <KSharedConfig>
......@@ -61,9 +59,6 @@ ConfigureDialog::ConfigureDialog(QWidget *parent)
{
setFaceType(KPageDialog::List);
setWindowTitle(i18nc("@title:window", "Configure"));
KWindowSystem::setIcons(winId(), qApp->windowIcon().pixmap(IconSize(KIconLoader::Desktop), IconSize(KIconLoader::Desktop)),
qApp->windowIcon().pixmap(IconSize(KIconLoader::Small), IconSize(KIconLoader::Small)));
addModule(QStringLiteral("kleopatra_config_dirserv"));
addModule(QStringLiteral("kleopatra_config_appear"));
addModule(QStringLiteral("kleopatra_config_cryptooperations"));
......
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