Commit bc1cd3e6 authored by Albert Astals Cid's avatar Albert Astals Cid

Fix QCoreApplication::arguments warning

Create the QApplication object first

Warning is gone

REVIEW: 125602
parent 95597710
......@@ -24,6 +24,8 @@
int main(int argc, char *argv[])
{
QApplication a( argc, argv );
Kdelibs4ConfigMigrator migrate(QLatin1String("kruler"));
migrate.setConfigFiles(QStringList() << QLatin1String("krulerrc") << QLatin1String("kruler.notifyrc"));
migrate.setUiFiles(QStringList() << QLatin1String("krulerui.rc"));
......@@ -38,7 +40,6 @@ int main(int argc, char *argv[])
aboutData.addAuthor( i18n( "Till Krech" ), i18n( "Former Maintainer and Developer" ), "till@snafu.de" );
aboutData.addCredit( i18n( "Gunnstein Lye" ),i18n( "Initial port to KDE 2" ), "gl@ez.no" );
QApplication a( argc, argv );
KAboutData::setApplicationData(aboutData);
KLineal *ruler = new KLineal();
......
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