Commit 0f1685d4 authored by Marco Bubke's avatar Marco Bubke

QmlDesigner.NodeInstances: Fix Mac repaint

parent 85d6f4bd
......@@ -158,9 +158,9 @@ void NodeInstanceServer::createScene(const CreateSceneCommand &command)
Q_ASSERT(!m_declarativeView.data());
m_declarativeView = new QDeclarativeView;
m_declarativeView->setAttribute(Qt::WA_DontShowOnScreen, true);
m_declarativeView->setViewportUpdateMode(QGraphicsView::NoViewportUpdate);
m_declarativeView->show();
m_declarativeView->setAttribute(Qt::WA_DontShowOnScreen, true);
if (!command.fileUrl().isEmpty())
engine()->setBaseUrl(command.fileUrl());
......
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