Proper handling of SystemExitException in Python

This commit is contained in:
wmayer
2012-08-11 10:58:54 +02:00
parent 408e1dc8e1
commit 0d351e98e2
8 changed files with 37 additions and 18 deletions

View File

@@ -1157,8 +1157,7 @@ void MainWindow::delayedStartup()
App::Application::processCmdLineFiles();
}
catch (const Base::SystemExitException&) {
QApplication::quit();
return;
throw;
}
const std::map<std::string,std::string>& cfg = App::Application::Config();