Initialize KCrash after setting KAboutData
So that KCrash can report the application version
This commit is contained in:
parent
68a621f95a
commit
9d76423285
1 changed files with 2 additions and 2 deletions
|
@ -289,8 +289,6 @@ int main(int argc, char *argv[])
|
|||
// reset QT_QPA_PLATFORM so we don't propagate it to our children (e.g. apps launched from the overview effect)
|
||||
qunsetenv("QT_QPA_PLATFORM");
|
||||
|
||||
KCrash::initialize();
|
||||
|
||||
KSignalHandler::self()->watchSignal(SIGTERM);
|
||||
KSignalHandler::self()->watchSignal(SIGINT);
|
||||
KSignalHandler::self()->watchSignal(SIGHUP);
|
||||
|
@ -299,6 +297,8 @@ int main(int argc, char *argv[])
|
|||
|
||||
KWin::Application::createAboutData();
|
||||
|
||||
KCrash::initialize();
|
||||
|
||||
#if KWIN_BUILD_X11
|
||||
QCommandLineOption xwaylandOption(QStringLiteral("xwayland"),
|
||||
i18n("Start a rootless Xwayland server."));
|
||||
|
|
Loading…
Reference in a new issue