mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 05:09:46 -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);
|
if (hasOGL) emuThread->initContext(windowID);
|
||||||
|
|
||||||
auto childwins = findChildren<MainWindow*>(Qt::FindDirectChildrenOnly);
|
auto childwins = findChildren<MainWindow*>(nullptr, Qt::FindDirectChildrenOnly);
|
||||||
for (auto child : childwins)
|
for (auto child : childwins)
|
||||||
{
|
{
|
||||||
if (hadOGL) emuThread->deinitContext(child->windowID);
|
if (hadOGL) emuThread->deinitContext(child->windowID);
|
||||||
|
Reference in New Issue
Block a user