mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 01:57:57 -05:00
qt: use main window as close overlay parent
This commit is contained in:
@ -1815,9 +1815,8 @@ void GMainWindow::OnShutdownBegin() {
|
||||
}
|
||||
|
||||
void GMainWindow::OnShutdownBeginDialog() {
|
||||
shutdown_dialog =
|
||||
new OverlayDialog(render_window, *system, QString{}, tr("Closing software..."), QString{},
|
||||
QString{}, Qt::AlignHCenter | Qt::AlignVCenter);
|
||||
shutdown_dialog = new OverlayDialog(this, *system, QString{}, tr("Closing software..."),
|
||||
QString{}, QString{}, Qt::AlignHCenter | Qt::AlignVCenter);
|
||||
shutdown_dialog->open();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user