"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "share/qtcreator/qml/qmlpuppet/qml2puppet/instances/qt5nodeinstanceserver.cpp" between
qt-creator-opensource-src-4.15.0.tar.xz and qt-creator-opensource-src-4.15.1.tar.xz

About: Qt Creator is a cross-platform, complete IDE (integrated development environment) tailored to the needs of Qt developers.

qt5nodeinstanceserver.cpp  (qt-creator-opensource-src-4.15.0.tar.xz):qt5nodeinstanceserver.cpp  (qt-creator-opensource-src-4.15.1.tar.xz)
skipping to change at line 148 skipping to change at line 148
QQmlEngine *Qt5NodeInstanceServer::engine() const QQmlEngine *Qt5NodeInstanceServer::engine() const
{ {
return m_qmlEngine; return m_qmlEngine;
} }
void Qt5NodeInstanceServer::resizeCanvasToRootItem() void Qt5NodeInstanceServer::resizeCanvasToRootItem()
{ {
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) #if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
m_viewData.bufferDirty = true; m_viewData.bufferDirty = true;
m_viewData.contentItem->setPosition(-m_viewData.rootItem->position()); if (m_viewData.contentItem)
m_viewData.contentItem->setPosition(-m_viewData.rootItem->position());
#endif #endif
quickWindow()->resize(rootNodeInstance().boundingRect().size().toSize()); quickWindow()->resize(rootNodeInstance().boundingRect().size().toSize());
} }
void Qt5NodeInstanceServer::resetAllItems() void Qt5NodeInstanceServer::resetAllItems()
{ {
foreach (QQuickItem *item, allItems()) foreach (QQuickItem *item, allItems())
DesignerSupport::resetDirty(item); DesignerSupport::resetDirty(item);
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)