rename exit() (without parameter) to quit() to follow the meaning of QCoreApplication::quit()
Gui: quit() returns