mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 13:27:41 -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);
|
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user