From 05c9b1adc2ef729e94646cbfcfa9372651f44872 Mon Sep 17 00:00:00 2001 From: Vlad Zagorodniy Date: Sun, 2 Dec 2018 20:23:07 +0200 Subject: [PATCH] Update about data Summary: Currently, --about doesn't have any effect. In addition to that, the about data contains outdated information. This change hopefully addresses all previously mentioned issues. Test Plan: Ran kwin_wayland --author. Reviewers: #kwin, graesslin Reviewed By: #kwin, graesslin Subscribers: graesslin, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D17319 --- main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 9f58432d3d..ecac85c815 100644 --- a/main.cpp +++ b/main.cpp @@ -192,13 +192,13 @@ void Application::createAboutData() QStringLiteral(KWIN_VERSION_STRING), // The program version string i18n(description), // Short description of what the app does KAboutLicense::GPL, // The license this code is released under - i18n("(c) 1999-2013, The KDE Developers")); // Copyright Statement + i18n("(c) 1999-2018, The KDE Developers")); // Copyright Statement aboutData.addAuthor(i18n("Matthias Ettrich"), QString(), QStringLiteral("ettrich@kde.org")); aboutData.addAuthor(i18n("Cristian Tibirna"), QString(), QStringLiteral("tibirna@kde.org")); aboutData.addAuthor(i18n("Daniel M. Duley"), QString(), QStringLiteral("mosfet@kde.org")); aboutData.addAuthor(i18n("Luboš Luňák"), QString(), QStringLiteral("l.lunak@kde.org")); - aboutData.addAuthor(i18n("Martin Gräßlin"), i18n("Maintainer"), QStringLiteral("mgraesslin@kde.org")); + aboutData.addAuthor(i18n("Martin Flöser"), QString(), QStringLiteral("mgraesslin@kde.org")); KAboutData::setApplicationData(aboutData); } @@ -220,6 +220,8 @@ void Application::setupCommandLine(QCommandLineParser *parser) void Application::processCommandLine(QCommandLineParser *parser) { + KAboutData aboutData = KAboutData::applicationData(); + aboutData.processCommandLine(parser); setConfigLock(parser->isSet(s_lockOption)); Application::setCrashCount(parser->value(s_crashesOption).toInt()); }