From aeb21594c540ecab7bbd2c7a37d9e2fcec13b286 Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 2 Feb 2018 07:51:09 +0100 Subject: Add CTRL+S shortcut for SearchDialog If in FileWidget, show and raise SearchDialog on CTRL+s, hide it on CTRL +x. Show busy cursor while searching. --- searchdialog.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'searchdialog.h') diff --git a/searchdialog.h b/searchdialog.h index efe081e..0ef4aad 100644 --- a/searchdialog.h +++ b/searchdialog.h @@ -29,6 +29,9 @@ class SearchDialog : public QDialog { void writeSettings(); void readSettings(); + protected: + virtual void keyPressEvent(QKeyEvent *e); + private: void doChild(QStandardItem *item, int childMode); void doActorGenres(QStandardItem *item); -- cgit v1.2.3-70-g09d2