From a4926de436a0bfd2b4cec7d4290035b93931a3fd Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Mon, 23 May 2016 23:13:27 -0700 Subject: [PATCH] Qt: Allow full shutdown and config save on exit. We want to save the config on exit, as pointed out by akien-mga, #8026. Also works around what may be a Ubuntu bug, causing segfaults on exit. --- ext/native/base/QtMain.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/ext/native/base/QtMain.cpp b/ext/native/base/QtMain.cpp index e0444f82ae..6cd15fdd84 100644 --- a/ext/native/base/QtMain.cpp +++ b/ext/native/base/QtMain.cpp @@ -492,9 +492,6 @@ int main(int argc, char *argv[]) int ret = mainInternal(a); -#ifndef MOBILE_DEVICE - exit(0); -#endif NativeShutdownGraphics(); #ifdef SDL SDL_PauseAudio(1);