mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 10:18:40 +12:00
Qt: fix window position of update dialog
This commit is contained in:
parent
1015c126d7
commit
486ba6121d
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ void update_manager::update()
|
||||||
ensure(m_downloader);
|
ensure(m_downloader);
|
||||||
|
|
||||||
if (m_update_message.isEmpty() ||
|
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();
|
m_downloader->close_progress_dialog();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue