From 7e167306926748694899cc49effc2a56d548ed5c Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Mon, 27 Aug 2018 21:32:24 +0300 Subject: [PATCH] Remove unnecessary height setting for timeline messages This will remove some minor flickering (hopefully for good) --- src/timeline/TimelineItem.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/timeline/TimelineItem.h b/src/timeline/TimelineItem.h index 04249b9c..76c9da7b 100644 --- a/src/timeline/TimelineItem.h +++ b/src/timeline/TimelineItem.h @@ -115,7 +115,6 @@ public: &TextLabel::adjustHeight); document()->setDocumentMargin(0); - setFixedHeight(QFontMetrics(QFont()).lineSpacing() + 4); setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed); }