From 13cb0521fa4fd692f66a89c83ef17b7e3ea339bb Mon Sep 17 00:00:00 2001 From: Jani Mustonen Date: Fri, 3 Nov 2017 08:54:17 +0200 Subject: Improvements to the quick switcher (#109) - Ghetto disambiguation for the quick switcher - Fix the Ctrl+K shortcut - Fix keyboard focus when the quick switcher is closed fixes #114 --- include/MainWindow.h | 1 - include/TextInputWidget.h | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/MainWindow.h b/include/MainWindow.h index 21530d07..2d047b51 100644 --- a/include/MainWindow.h +++ b/include/MainWindow.h @@ -47,7 +47,6 @@ public: protected: void closeEvent(QCloseEvent *event); - void keyPressEvent(QKeyEvent *event); private slots: // Handle interaction with the tray icon. diff --git a/include/TextInputWidget.h b/include/TextInputWidget.h index e32ce2ff..32da6ba3 100644 --- a/include/TextInputWidget.h +++ b/include/TextInputWidget.h @@ -79,6 +79,9 @@ signals: void startedTyping(); void stoppedTyping(); +protected: + void focusInEvent(QFocusEvent *event); + private: void showUploadSpinner(); QString parseEmoteCommand(const QString &cmd); -- cgit 1.5.1