diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-08-27 21:32:24 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-08-27 21:32:24 +0300 |
commit | 7e167306926748694899cc49effc2a56d548ed5c (patch) | |
tree | 821fad1349c7ba4aa5bbd7c9d732ed223fced7eb | |
parent | Show the room id in the room settings modal (diff) | |
download | nheko-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.h | 1 |
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); } |