Commit 0da6c85b authored by Boudewijn Rempt's avatar Boudewijn Rempt

Active the crash handler earlier

parent 047f1f13
......@@ -140,6 +140,12 @@ void resetRotation()
extern "C" int main(int argc, char **argv)
{
#if defined HAVE_KCRASH
KCrash::initialize();
#elif defined USE_DRMINGW
tryInitDrMingw();
#endif
// The global initialization of the random generator
qsrand(time(0));
bool runningInKDE = !qgetenv("KDE_FULL_SESSION").isEmpty();
......@@ -399,11 +405,6 @@ extern "C" int main(int argc, char **argv)
}
#if defined HAVE_KCRASH
KCrash::initialize();
#elif defined USE_DRMINGW
tryInitDrMingw();
#endif
// If we should clear the config, it has to be done as soon as possible after
// KisApplication has been created. Otherwise the config file may have been read
......
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