From 50ee92f7380beb1510ad7e59bf68d7059c33db7f Mon Sep 17 00:00:00 2001 From: Frederik Schwarzer Date: Sun, 29 Nov 2015 10:26:19 +0100 Subject: [PATCH] Cleanup. --- src/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 9911c55..e02034d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -41,6 +41,7 @@ int main(int argc, char **argv) migrate.migrate(); KLocalizedString::setApplicationDomain("kshisen"); + KAboutData aboutData(QStringLiteral("kshisen"), i18n("Shisen-Sho"), QStringLiteral("1.9+ #17"), i18n(description), KAboutLicense::GPL, i18n("(c) 1997, Mario Weilguni")); aboutData.setHomepage(QStringLiteral("http://games.kde.org/kshisen")); @@ -50,8 +51,9 @@ int main(int argc, char **argv) aboutData.addCredit(i18n("Mauricio Piacentini"), i18n("KMahjonggLib integration for KDE4"), QStringLiteral("mauricio@tabuleiro.com")); aboutData.addCredit(i18n("Jason Lane"), i18n("Added 'tiles removed' counter
Tile smooth-scaling and window resizing"), QStringLiteral("jglane@btopenworld.com")); aboutData.addCredit(i18n("Thanks also to everyone who should be listed here but is not!")); - QCommandLineParser parser; KAboutData::setApplicationData(aboutData); + + QCommandLineParser parser; parser.addVersionOption(); parser.addHelpOption(); aboutData.setupCommandLine(&parser); -- GitLab