Commit cf6def17 authored by Laurent Montel's avatar Laurent Montel 😁

QApplication first

parent 4b2c22af
......@@ -29,12 +29,13 @@ static const char description[] = I18N_NOOP("KDE Space Game");
int main(int argc,char **argv)
{
QApplication app(argc, argv);
KAboutData aboutData( "kspaceduel", i18n("KSpaceDuel"),
KSPACEDUEL_VERSION, i18n(description), KAboutLicense::GPL,
i18n("(c) 1998-2001, Andreas Zehender"), "http://games.kde.org/kspaceduel" );
aboutData.addAuthor(i18n("Andreas Zehender"),i18n("Original Program"), "az@azweb.de");
aboutData.addAuthor(i18n("Branan Riley"),i18n("SVG Renderer"), "branan@gmail.com");
QApplication app(argc, argv);
QCommandLineParser parser;
KAboutData::setApplicationData(aboutData);
parser.addVersionOption();
......
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