From c03501c5062fa1daafef3d023f8aebca578ab5a8 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Thu, 4 May 2023 19:18:58 -0700 Subject: [PATCH] Qt: Buildfix with SDL disabled. --- Qt/QtMain.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Qt/QtMain.cpp b/Qt/QtMain.cpp index 06de4b664a..5d65a83a0f 100644 --- a/Qt/QtMain.cpp +++ b/Qt/QtMain.cpp @@ -278,8 +278,10 @@ void System_Notify(SystemNotification notification) { g_symbolMap->SortSymbols(); break; case SystemNotification::AUDIO_RESET_DEVICE: +#ifdef SDL StopSDLAudioDevice(); InitSDLAudioDevice(); +#endif break; default: break;