mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-25 20:22:30 +01:00
Qt: fix window position of update dialog
This commit is contained in:
parent
1015c126d7
commit
486ba6121d
@ -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…
Reference in New Issue
Block a user