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