Fix messages sometimes not being rendered, when they are too large
This commit is contained in:
parent
6a2e8a6952
commit
2606568376
2 changed files with 0 additions and 5 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue