Skip to content
Snippets Groups Projects
Commit 0f1685d4 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner.NodeInstances: Fix Mac repaint

parent 85d6f4bd
No related branches found
No related tags found
No related merge requests found
...@@ -158,9 +158,9 @@ void NodeInstanceServer::createScene(const CreateSceneCommand &command) ...@@ -158,9 +158,9 @@ void NodeInstanceServer::createScene(const CreateSceneCommand &command)
Q_ASSERT(!m_declarativeView.data()); Q_ASSERT(!m_declarativeView.data());
m_declarativeView = new QDeclarativeView; m_declarativeView = new QDeclarativeView;
m_declarativeView->setAttribute(Qt::WA_DontShowOnScreen, true);
m_declarativeView->setViewportUpdateMode(QGraphicsView::NoViewportUpdate); m_declarativeView->setViewportUpdateMode(QGraphicsView::NoViewportUpdate);
m_declarativeView->show(); m_declarativeView->show();
m_declarativeView->setAttribute(Qt::WA_DontShowOnScreen, true);
if (!command.fileUrl().isEmpty()) if (!command.fileUrl().isEmpty())
engine()->setBaseUrl(command.fileUrl()); engine()->setBaseUrl(command.fileUrl());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment