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)
// 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…
Cancel
Save