Commit 0d56bd9a authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Set app window icon for desktop file-ignorant shells

parent 5d068bc7
......@@ -403,6 +403,10 @@ int main( int argc, char *argv[] )
aboutData.addCredit( i18n("Sascha Cunz") , i18n( "Cleanup and bugfixes for qEditor, AutoMake and much other stuff" ), "mail@sacu.de" );
aboutData.addCredit( i18n("Zoran Karavla"), i18n( "Artwork for the ruby language" ), "webmaster@the-error.net", "http://the-error.net" );
KAboutData::setApplicationData(aboutData);
// set icon for shells which do not use desktop file metadata
QApplication::setWindowIcon(QIcon::fromTheme(QStringLiteral("kdevelop")));
KCrash::initialize();
Kdelibs4ConfigMigrator migrator(QStringLiteral("kdevelop"));
......@@ -416,7 +420,6 @@ int main( int argc, char *argv[] )
qCDebug(APP) << "Startup";
QCommandLineParser parser;
KAboutData::setApplicationData(aboutData);
parser.addVersionOption();
parser.addHelpOption();
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