summary refs log tree commit diff
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-08-27 21:32:24 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-08-27 21:32:24 +0300
commit7e167306926748694899cc49effc2a56d548ed5c (patch)
tree821fad1349c7ba4aa5bbd7c9d732ed223fced7eb
parentShow the room id in the room settings modal (diff)
downloadnheko-7e167306926748694899cc49effc2a56d548ed5c.tar.xz
Remove unnecessary height setting for timeline messages
This will remove some minor flickering (hopefully for good)
-rw-r--r--src/timeline/TimelineItem.h1
1 files changed, 0 insertions, 1 deletions
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);
         }