Commit 90887ed4 authored by Michael Winkelmann's avatar Michael Winkelmann

No update on setContentItem

parent b085b8ce
......@@ -59,9 +59,8 @@ void ViewerContainer::setContentItem(QQuickItem* contentItem) {
contentItem_ = contentItem;
contentItem_->setParentItem(this);
contentItem_->setTransformOrigin(QQuickItem::TopLeft);
center();
update();
emit contentItemChanged();
center();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment