Commit 3533ad2b authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner: code cleanup

toLower() is called inside generateNewId().

Change-Id: I8526c25f5d2898946f0a1568e6203297c9672093
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent 04f29127
......@@ -153,7 +153,7 @@ QmlItemNode QmlItemNode::createQmlItemNode(AbstractView *view, const ItemLibrary
if (!newQmlItemNode.isValid())
return newQmlItemNode;
newQmlItemNode.setId(view->generateNewId(itemLibraryEntry.name().toLower()));
newQmlItemNode.setId(view->generateNewId(itemLibraryEntry.name()));
if (!view->currentState().isBaseState()) {
newQmlItemNode.modelNode().variantProperty("opacity").setValue(0);
......
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