From 88abe2baff0198ab76982518e5953d6350692e4f Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Wed, 25 Nov 2015 18:30:43 +0200 Subject: [PATCH] Fix shutdown dialog. Closes #4171. --- src/gui/shutdownconfirm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/shutdownconfirm.cpp b/src/gui/shutdownconfirm.cpp index 8c01b8fad..50932ff58 100644 --- a/src/gui/shutdownconfirm.cpp +++ b/src/gui/shutdownconfirm.cpp @@ -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));