Commit d1d773c1 authored by Andreas Cord-Landwehr's avatar Andreas Cord-Landwehr
Browse files

Initialize KCrash only once qApp is created.

parent 64f78d2c
......@@ -42,10 +42,9 @@ int main(int argc, char **argv)
ki18nc("@info:credit Role", "Original Author").toString(),
"cordlandwehr@kde.org");
KCrash::initialize();
Application app(argc, argv);
KAboutData::setApplicationData(aboutData);
KCrash::initialize();
MainWindowEditor *mainWindow = new MainWindowEditor();
QSize size(800, 600);
......
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