Commit 50ee92f7 authored by Frederik Schwarzer's avatar Frederik Schwarzer

Cleanup.

parent b03d6567
...@@ -41,6 +41,7 @@ int main(int argc, char **argv) ...@@ -41,6 +41,7 @@ int main(int argc, char **argv)
migrate.migrate(); migrate.migrate();
KLocalizedString::setApplicationDomain("kshisen"); KLocalizedString::setApplicationDomain("kshisen");
KAboutData aboutData(QStringLiteral("kshisen"), i18n("Shisen-Sho"), QStringLiteral("1.9+ #17"), KAboutData aboutData(QStringLiteral("kshisen"), i18n("Shisen-Sho"), QStringLiteral("1.9+ #17"),
i18n(description), KAboutLicense::GPL, i18n("(c) 1997, Mario Weilguni")); i18n(description), KAboutLicense::GPL, i18n("(c) 1997, Mario Weilguni"));
aboutData.setHomepage(QStringLiteral("http://games.kde.org/kshisen")); aboutData.setHomepage(QStringLiteral("http://games.kde.org/kshisen"));
...@@ -50,8 +51,9 @@ int main(int argc, char **argv) ...@@ -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("Mauricio Piacentini"), i18n("KMahjonggLib integration for KDE4"), QStringLiteral("mauricio@tabuleiro.com"));
aboutData.addCredit(i18n("Jason Lane"), i18n("Added 'tiles removed' counter<br/>Tile smooth-scaling and window resizing"), QStringLiteral("jglane@btopenworld.com")); aboutData.addCredit(i18n("Jason Lane"), i18n("Added 'tiles removed' counter<br/>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!")); aboutData.addCredit(i18n("Thanks also to everyone who should be listed here but is not!"));
QCommandLineParser parser;
KAboutData::setApplicationData(aboutData); KAboutData::setApplicationData(aboutData);
QCommandLineParser parser;
parser.addVersionOption(); parser.addVersionOption();
parser.addHelpOption(); parser.addHelpOption();
aboutData.setupCommandLine(&parser); aboutData.setupCommandLine(&parser);
......
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