From 2d561a60c88e42f230dc81e72a61469a90a91c42 Mon Sep 17 00:00:00 2001 From: Arisotura Date: Sun, 27 Oct 2024 09:16:46 +0100 Subject: [PATCH] fix Qt5 compatibility (sdffdf) --- src/frontend/qt_sdl/Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/qt_sdl/Window.cpp b/src/frontend/qt_sdl/Window.cpp index 16e30081..50472300 100644 --- a/src/frontend/qt_sdl/Window.cpp +++ b/src/frontend/qt_sdl/Window.cpp @@ -2140,7 +2140,7 @@ void MainWindow::onUpdateVideoSettings(bool glchange) { if (hasOGL) emuThread->initContext(windowID); - auto childwins = findChildren(Qt::FindDirectChildrenOnly); + auto childwins = findChildren(nullptr, Qt::FindDirectChildrenOnly); for (auto child : childwins) { if (hadOGL) emuThread->deinitContext(child->windowID);