diff options
author | Arno <arno@disconnect.de> | 2018-02-02 07:51:09 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-02-02 07:51:09 +0100 |
commit | aeb21594c540ecab7bbd2c7a37d9e2fcec13b286 (patch) | |
tree | d4f691d9fe8a8c9db0f3c25ebf85a9e09fcea90a /searchdialog.h | |
parent | 873aea1fc7a23bf6e764012b3422c4d9b0c39026 (diff) | |
download | ShemovCleaner-aeb21594c540ecab7bbd2c7a37d9e2fcec13b286.tar.gz ShemovCleaner-aeb21594c540ecab7bbd2c7a37d9e2fcec13b286.tar.bz2 ShemovCleaner-aeb21594c540ecab7bbd2c7a37d9e2fcec13b286.zip |
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.
Diffstat (limited to 'searchdialog.h')
-rw-r--r-- | searchdialog.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |