summary refs log tree commit diff
path: root/src/TextInputWidget.cpp
diff options
context:
space:
mode:
authorredsky17 <joedonofry@gmail.com>2019-06-11 23:36:46 -0400
committerredsky17 <joedonofry@gmail.com>2019-06-11 23:36:46 -0400
commit1d4966d5fd916f21bdbbad8080eec69bb2c817d6 (patch)
tree04dbeabb4007bcf5213bb65da5423370a1047eaf /src/TextInputWidget.cpp
parentFix lambda capture and lint issues (diff)
downloadnheko-1d4966d5fd916f21bdbbad8080eec69bb2c817d6.tar.xz
Add style for reply popup. Fix ALL of the linting issues
Diffstat (limited to '')
-rw-r--r--src/TextInputWidget.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/TextInputWidget.cpp b/src/TextInputWidget.cpp

index 7971ab43..dc41b4d3 100644 --- a/src/TextInputWidget.cpp +++ b/src/TextInputWidget.cpp
@@ -176,18 +176,16 @@ FilteredTextEdit::keyPressEvent(QKeyEvent *event) } if (replyPopup_.isVisible()) { - switch (event->key()) - { + switch (event->key()) { case Qt::Key_Escape: closeReply(); return; - + default: break; } } - switch (event->key()) { case Qt::Key_At: atTriggerPosition_ = textCursor().position();