diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-02-10 15:24:00 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-02-10 15:24:00 +0100 |
commit | 2606568376e032a5b66275397a52267f2e4c4578 (patch) | |
tree | 31afb7a279ae410ca6b4542499edd38ec7038f16 /src | |
parent | Try to avoid QTBUG-89568 (diff) | |
download | nheko-2606568376e032a5b66275397a52267f2e4c4578.tar.xz |
Fix messages sometimes not being rendered, when they are too large
Diffstat (limited to 'src')
-rw-r--r-- | src/timeline/DelegateChooser.cpp | 4 |
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(); |