Commit 777bbe6e authored by Jonathan Marten's avatar Jonathan Marten

Create QApplication before using I18N

Avoids assert on startup:
ASSERT failure in KCatalogPrivate::setupGettextEnv: "You need to instantiate a
Q*Application before using KCatalog", file ki18n/src/kcatalog.cpp, line 201
parent 0b871355
......@@ -30,6 +30,8 @@
int main(int argc, char *argv[])
QApplication app(argc, argv);
KAboutData aboutData(QStringLiteral("bluedevilsendfile"),
i18n("Bluetooth Send File Wizard"),
......@@ -43,7 +45,6 @@ int main(int argc, char *argv[])
aboutData.addAuthor(QStringLiteral("Alejandro Fiestas Olivares"), i18n("Previous Maintainer"),
QStringLiteral(""), QStringLiteral(""));
QApplication app(argc, argv);
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