summaryrefslogtreecommitdiffstats
path: root/src/countdowndialog.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2016-04-16 20:39:37 +1000
committerMichele Calgaro <michele.calgaro@yahoo.it>2016-04-21 15:14:14 +1000
commitfab0d1579f8be4859958217e7b632acfbf191de2 (patch)
tree46c643dc50b4546b69e3d0447f7078e6371d1abb /src/countdowndialog.h
parentade0320f4138ec0b221d215bf8093ecb1609421b (diff)
downloadtdepowersave-fab0d157.tar.gz
tdepowersave-fab0d157.zip
Fixed ESC handling in inactivity dialog. This resolves bug 2632.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/countdowndialog.h')
-rw-r--r--src/countdowndialog.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/countdowndialog.h b/src/countdowndialog.h
index ed8778b..ca1164c 100644
--- a/src/countdowndialog.h
+++ b/src/countdowndialog.h
@@ -72,9 +72,11 @@ private slots:
//! to update the progressbar
void updateProgress();
- //! to catch the event if the 'Chancel' button get pressed
+ //! to catch the event if the 'Cancel' button get pressed
void pB_cancel_pressed();
-
+ //! to catch ESC presses
+ void reject();
+
signals:
//! emited if the dialog get closed
void dialogClosed( bool result);