Commit 6e091473 authored by Simon Depiets's avatar Simon Depiets
Browse files

Initialize KCrash after QApp instance

parent 99d815c9
......@@ -61,9 +61,8 @@ int main(int argc, char **argv)
TM::threadPool()->setMaxThreadCount(1);
TM::threadPool()->setExpiryTimeout(-1);
QThreadPool::globalInstance()->setMaxThreadCount(1);
KCrash::initialize();
QApplication app(argc, argv);
KCrash::initialize();
KLocalizedString::setApplicationDomain("lokalize");
QCommandLineParser parser;
KAboutData about(QStringLiteral("lokalize"), i18nc("@title", "Lokalize"), LOKALIZE_VERSION, i18n("Computer-aided translation system.\nDo not translate what had already been translated."),
......
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