mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 12:59:56 -07:00
Fix shutdown dialog. Closes #4171.
This commit is contained in:
parent
23748547a2
commit
88abe2baff
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ ShutdownConfirmDlg::ShutdownConfirmDlg(const ShutdownAction &action)
|
||||||
// Set 'Cancel' as default button.
|
// Set 'Cancel' as default button.
|
||||||
setDefaultButton(QMessageBox::Cancel);
|
setDefaultButton(QMessageBox::Cancel);
|
||||||
m_timer.setInterval(1000); // 1sec
|
m_timer.setInterval(1000); // 1sec
|
||||||
connect(&m_timer, SIGNAL(m_timeout()), this, SLOT(updateSeconds()));
|
connect(&m_timer, SIGNAL(timeout()), this, SLOT(updateSeconds()));
|
||||||
show();
|
show();
|
||||||
// Move to center
|
// Move to center
|
||||||
move(Utils::Misc::screenCenter(this));
|
move(Utils::Misc::screenCenter(this));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue