summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-02-10 15:24:00 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-02-10 15:24:00 +0100
commit2606568376e032a5b66275397a52267f2e4c4578 (patch)
tree31afb7a279ae410ca6b4542499edd38ec7038f16 /src
parentTry to avoid QTBUG-89568 (diff)
downloadnheko-2606568376e032a5b66275397a52267f2e4c4578.tar.xz
Fix messages sometimes not being rendered, when they are too large
Diffstat (limited to 'src')
-rw-r--r--src/timeline/DelegateChooser.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/timeline/DelegateChooser.cpp b/src/timeline/DelegateChooser.cpp
index 1f5fae7e..8598fa77 100644
--- a/src/timeline/DelegateChooser.cpp
+++ b/src/timeline/DelegateChooser.cpp
@@ -123,10 +123,6 @@ DelegateChooser::DelegateIncubator::statusChanged(QQmlIncubator::Status status)
                 }
 
                 chooser.child_->setParentItem(&chooser);
-                connect(chooser.child_, &QQuickItem::heightChanged, &chooser, [this]() {
-                        chooser.setHeight(chooser.child_->height());
-                });
-                chooser.setHeight(chooser.child_->height());
                 QQmlEngine::setObjectOwnership(chooser.child_,
                                                QQmlEngine::ObjectOwnership::JavaScriptOwnership);
                 emit chooser.childChanged();