mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 05:17:40 -07:00
fix Qt5 compatibility (sdffdf)
This commit is contained in:
parent
4ae4397547
commit
2d561a60c8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user