zinnschlag/openmw — pull request #233 by pvdk (2012-06-20 21:32:15+00:00)
Title: Changed the way the launcher exits and polished the error handling code

Ok, this should fix the launcher not quitting when an error occurred, turns out the main event loop wasn't always started when QApplication::exit() was called. I also changed it to QApplication::quit() as GUI applications should only return an error code when something goes wrong internally, not after displaying a warning message.