mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 09:59:41 -06:00
fix Qt5 compatibility (sdffdf)
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user