Commit 52305ca4 authored by Nicolas Fella's avatar Nicolas Fella Committed by Nate Graham
Browse files

[systemmonitor] Set KAboutData

This takes care of setting the proper window title
parent 8227b7d7
......@@ -26,8 +26,6 @@ KSystemActivityDialog::KSystemActivityDialog(QWidget *parent)
: KMainWindow(parent)
, m_configGroup(KSharedConfig::openConfig()->group("TaskDialog"))
{
setWindowTitle(i18n("System Activity"));
setWindowIcon(QIcon::fromTheme(QStringLiteral("utilities-system-monitor")));
setAutoSaveSettings();
m_processList = new KSysGuardProcessList;
......
......@@ -4,10 +4,12 @@
SPDX-License-Identifier: LGPL-2.1-or-later
*/
#include <KLocalizedString>
#include <QApplication>
#include <QDBusConnection>
#include <KAboutData>
#include <KLocalizedString>
#include <kworkspace.h>
#include "ksystemactivitydialog.h"
......@@ -18,8 +20,8 @@ int main(int argc, char **argv)
QApplication app(argc, argv);
KLocalizedString::setApplicationDomain("systemmonitor");
app.setOrganizationDomain(QStringLiteral("kde.org"));
app.setDesktopFileName(QStringLiteral("org.kde.systemmonitor"));
KAboutData about(QStringLiteral("systemmonitor"), i18n("System Activity"));
KAboutData::setApplicationData(about);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
......
Supports Markdown
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