forked from qt-creator/qt-creator
QmlDesigner: Disable caching for form editor items
This just wastes memory. We already cache the content in a pixmap. Anything we render on top is cheap. Change-Id: Ieecb689aa001ec8948b76c454e0b5217ff20be4f Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Tim Jenssen
parent
970510c181
commit
a6985eaa85
@@ -54,7 +54,7 @@ FormEditorItem::FormEditorItem(const QmlItemNode &qmlItemNode, FormEditorScene*
|
|||||||
m_isContentVisible(true),
|
m_isContentVisible(true),
|
||||||
m_isFormEditorVisible(true)
|
m_isFormEditorVisible(true)
|
||||||
{
|
{
|
||||||
setCacheMode(QGraphicsItem::DeviceCoordinateCache);
|
setCacheMode(QGraphicsItem::NoCache);
|
||||||
setup();
|
setup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user