1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-10 23:07:59 +00:00

Fix shutdown dialog. Closes #4171.

This commit is contained in:
sledgehammer999 2015-11-25 18:30:43 +02:00
parent 23748547a2
commit 88abe2baff

View File

@ -60,7 +60,7 @@ ShutdownConfirmDlg::ShutdownConfirmDlg(const ShutdownAction &action)
// Set 'Cancel' as default button.
setDefaultButton(QMessageBox::Cancel);
m_timer.setInterval(1000); // 1sec
connect(&m_timer, SIGNAL(m_timeout()), this, SLOT(updateSeconds()));
connect(&m_timer, SIGNAL(timeout()), this, SLOT(updateSeconds()));
show();
// Move to center
move(Utils::Misc::screenCenter(this));