From eb458da7c7548236b6d9a3f24f2b59a5a89ab82d Mon Sep 17 00:00:00 2001 From: Sacha Date: Wed, 25 Jun 2014 13:26:43 +1000 Subject: [PATCH] Qt: forgot ifdef --- base/QtMain.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/QtMain.cpp b/base/QtMain.cpp index 72078ef6f7..1d7d1c5c3b 100644 --- a/base/QtMain.cpp +++ b/base/QtMain.cpp @@ -218,8 +218,10 @@ int main(int argc, char *argv[]) exit(0); #endif NativeShutdownGraphics(); +#ifdef QT_HAS_SDL SDL_PauseAudio(1); SDL_CloseAudio(); +#endif NativeShutdown(); net::Shutdown(); return ret;