Commit 06cfc22f authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner: Remove old function



Change-Id: I065a6febd74e13740117e0a5223fa71648a7c430
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent aefb9671
......@@ -96,14 +96,6 @@ void Qt5PreviewNodeInstanceServer::changeState(const ChangeStateCommand &/*comma
}
static void updateDirtyNodeRecursive(QQuickItem *parentItem)
{
foreach (QQuickItem *childItem, parentItem->childItems())
updateDirtyNodeRecursive(childItem);
DesignerSupport::updateDirtyNode(parentItem);
}
QImage Qt5PreviewNodeInstanceServer::renderPreviewImage()
{
rootNodeInstance().updateDirtyNodeRecursive();
......
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