fix Qt5 compatibility (sdffdf)

This commit is contained in:
Arisotura 2024-10-27 09:16:46 +01:00
parent 4ae4397547
commit 2d561a60c8
1 changed files with 1 additions and 1 deletions

View File

@ -2140,7 +2140,7 @@ void MainWindow::onUpdateVideoSettings(bool glchange)
{
if (hasOGL) emuThread->initContext(windowID);
auto childwins = findChildren<MainWindow*>(Qt::FindDirectChildrenOnly);
auto childwins = findChildren<MainWindow*>(nullptr, Qt::FindDirectChildrenOnly);
for (auto child : childwins)
{
if (hadOGL) emuThread->deinitContext(child->windowID);