From 56c55a949854f9dd73b60e353be35bd31407cee0 Mon Sep 17 00:00:00 2001 From: Keshav Bhatt Date: Fri, 27 Jan 2023 02:13:28 +0530 Subject: chore: escape key to close child windows --- src/downloadmanagerwidget.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/downloadmanagerwidget.h') diff --git a/src/downloadmanagerwidget.h b/src/downloadmanagerwidget.h index 7fa0950..4a8d059 100644 --- a/src/downloadmanagerwidget.h +++ b/src/downloadmanagerwidget.h @@ -75,6 +75,8 @@ public: // will be shown on the screen. void downloadRequested(QWebEngineDownloadItem *webItem); +protected slots: + void keyPressEvent(QKeyEvent *e); private slots: void on_open_download_dir_clicked(); -- cgit v1.2.3