Commit 5207b158 authored by Matthias Möller's avatar Matthias Möller

- fixed return value if program exit on failure

- fixed grouptest

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16227 383ad7c9-94d9-4d36-a494-682f7c89f535
parent ac048726
......@@ -1186,9 +1186,14 @@ void Core::exitFailure() {
// Cleanup the widgets here
delete coreWidget_;
//stop qt event loop
//this function does return to the caller
qApp->exit(EXIT_FAILURE);
// Kill application with an error
// No need to clean up here anyway
qApp->exit(EXIT_FAILURE);
exit(EXIT_FAILURE);
}
......
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