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
This commit is contained in:
parent
bec589fedc
commit
05c9b1adc2
1 changed files with 4 additions and 2 deletions
6
main.cpp
6
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());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue