dhaumann:

fix crash due to kapp->exit(1) no exiting immediately

BUG: 238197

svn path=/trunk/KDE/kdebase/apps/; revision=1128938
This commit is contained in:
Christoph Cullmann 2010-05-20 18:42:19 +00:00
parent 4de7cfab81
commit 02303a0a36

View file

@ -471,7 +471,8 @@ void KWrite::restore()
{
KMessageBox::error(0, i18n("A KDE text-editor component could not be found.\n"
"Please check your KDE installation."));
kapp->exit(1);
// exit immediately (do not use kapp->exit(1))
::exit(1);
}
// simple mode