From 486ba6121d1fbc151b797ff18431a5a6b428d8ce Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sat, 24 Apr 2021 11:00:17 +0200 Subject: [PATCH] Qt: fix window position of update dialog --- rpcs3/rpcs3qt/update_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/rpcs3qt/update_manager.cpp b/rpcs3/rpcs3qt/update_manager.cpp index 153ca7ea44..1202489172 100644 --- a/rpcs3/rpcs3qt/update_manager.cpp +++ b/rpcs3/rpcs3qt/update_manager.cpp @@ -227,7 +227,7 @@ void update_manager::update() ensure(m_downloader); if (m_update_message.isEmpty() || - QMessageBox::question(m_downloader->get_progress_dialog(), tr("Update Available"), m_update_message, QMessageBox::Yes | QMessageBox::No) == QMessageBox::No) + QMessageBox::question(m_downloader->get_progress_dialog() ? m_downloader->get_progress_dialog() : m_parent, tr("Update Available"), m_update_message, QMessageBox::Yes | QMessageBox::No) == QMessageBox::No) { m_downloader->close_progress_dialog(); return;