aboutsummaryrefslogtreecommitdiff
path: root/src/about.h
diff options
context:
space:
mode:
authorLibravatar Keshav Bhatt <keshavnrj@gmail.com>2023-01-27 02:13:28 +0530
committerLibravatar Keshav Bhatt <keshavnrj@gmail.com>2023-01-27 10:10:17 +0530
commit56c55a949854f9dd73b60e353be35bd31407cee0 (patch)
tree130a8f826e46c4969828a73d62060f716f0a9c37 /src/about.h
parent7fc4ce386626cd5d2c1e68258b16263732ca318d (diff)
downloadwhatsie-56c55a949854f9dd73b60e353be35bd31407cee0.tar.gz
whatsie-56c55a949854f9dd73b60e353be35bd31407cee0.zip
chore: escape key to close child windows
Diffstat (limited to 'src/about.h')
-rw-r--r--src/about.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/about.h b/src/about.h
index 74bfe0d..cd9e978 100644
--- a/src/about.h
+++ b/src/about.h
@@ -2,6 +2,7 @@
#define ABOUT_H
#include <QWidget>
+#include <QKeyEvent>
namespace Ui {
class About;
@@ -15,6 +16,8 @@ public:
explicit About(QWidget *parent = nullptr);
~About();
+protected slots:
+ void keyPressEvent(QKeyEvent *e);
private slots:
void on_debugInfoButton_clicked();