forked from qt-creator/qt-creator
white space only changes
Change-Id: Ib78ea3244594320f54a2feb04f639caa83e1ba84 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -67,13 +67,11 @@ void FormEditorItem::setup()
|
||||
|
||||
setFlag(QGraphicsItem::ItemClipsChildrenToShape, qmlItemNode().instanceValue("clip").toBool());
|
||||
|
||||
|
||||
if (NodeHints::fromModelNode(qmlItemNode()).forceClip()) {
|
||||
setFlag(QGraphicsItem::ItemClipsChildrenToShape, true);
|
||||
setFlag(QGraphicsItem::ItemClipsToShape, true);
|
||||
}
|
||||
|
||||
|
||||
if (QGraphicsItem::parentItem() == scene()->formLayerItem())
|
||||
m_borderWidth = 0.0;
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace QmlDesigner {
|
||||
|
||||
namespace Internal {
|
||||
|
||||
static QJSEngine *s_qJSEngine= nullptr;
|
||||
static QJSEngine *s_qJSEngine = nullptr;
|
||||
static JSObject *s_jsObject = nullptr;
|
||||
|
||||
static QVariant evaluateExpression(const QString &expression, const ModelNode &modelNode, const ModelNode &otherNode)
|
||||
@@ -77,10 +77,8 @@ QmlDesigner::NodeHints::NodeHints(const ModelNode &node) : m_modelNode(node)
|
||||
QList <ItemLibraryEntry> itemLibraryEntryList = libraryInfo->entriesForType(
|
||||
modelNode().type(), modelNode().majorVersion(), modelNode().minorVersion());
|
||||
|
||||
|
||||
if (!itemLibraryEntryList.isEmpty())
|
||||
m_hints = itemLibraryEntryList.first().hints();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user