qt: use main window as close overlay parent
This commit is contained in:
parent
053ad04d3f
commit
ae6015a69b
2 changed files with 4 additions and 4 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue