summary refs log tree commit diff
path: root/include/TextInputWidget.h
diff options
context:
space:
mode:
authorJani Mustonen <janijohannes@kapsi.fi>2017-11-03 08:54:17 +0200
committermujx <mujx@users.noreply.github.com>2017-11-03 08:54:17 +0200
commit13cb0521fa4fd692f66a89c83ef17b7e3ea339bb (patch)
tree632e0721e88b301e2ed7b45a10e9f48bf18004f6 /include/TextInputWidget.h
parentUpdate issue template (diff)
downloadnheko-13cb0521fa4fd692f66a89c83ef17b7e3ea339bb.tar.xz
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
Diffstat (limited to 'include/TextInputWidget.h')
-rw-r--r--include/TextInputWidget.h3
1 files changed, 3 insertions, 0 deletions
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);