|
|
@ -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)); |
|
|
|