Browse Source

Fix shutdown dialog. Closes #4171.

adaptive-webui-19844
sledgehammer999 9 years ago
parent
commit
88abe2baff
  1. 2
      src/gui/shutdownconfirm.cpp

2
src/gui/shutdownconfirm.cpp

@ -60,7 +60,7 @@ ShutdownConfirmDlg::ShutdownConfirmDlg(const ShutdownAction &action) @@ -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));

Loading…
Cancel
Save