From be1478183e551ec411d451b86e83423d8febce7a Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Tue, 2 Oct 2018 13:16:44 +0300 Subject: Remove some unnecessary calls --- src/TypingDisplay.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/TypingDisplay.cpp') 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); } -- cgit 1.5.1