summary refs log tree commit diff
path: root/src/TypingDisplay.cpp
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-10-02 13:16:44 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-10-02 13:16:44 +0300
commitbe1478183e551ec411d451b86e83423d8febce7a (patch)
tree9271b94be670637e3e9360434effbf7b2d801584 /src/TypingDisplay.cpp
parentAdd option to configure the font size (diff)
downloadnheko-be1478183e551ec411d451b86e83423d8febce7a.tar.xz
Remove some unnecessary calls
Diffstat (limited to 'src/TypingDisplay.cpp')
-rw-r--r--src/TypingDisplay.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/TypingDisplay.cpp b/src/TypingDisplay.cpp

index 3cd7b2a2..97d2c713 100644 --- a/src/TypingDisplay.cpp +++ b/src/TypingDisplay.cpp
@@ -14,9 +14,6 @@ TypingDisplay::TypingDisplay(QWidget *parent) : OverlayWidget(parent) , offset_{conf::textInput::height} { - QFont f; - setFont(f); - setFixedHeight(QFontMetrics(font()).height() + RECT_PADDING); setAttribute(Qt::WA_TransparentForMouseEvents); }