Commit f9517e04 authored by Marco Bubke's avatar Marco Bubke

QmlDesigner: Fix spelling

Change-Id: If6f1bb45711f0e0040935d45f4953ddd9d65c3aa
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent 8c5a4fc9
......@@ -443,9 +443,9 @@ ModelNode NavigatorTreeModel::nodeForIndex(const QModelIndex &index) const
bool NavigatorTreeModel::hasNodeForIndex(const QModelIndex &index) const
{
QVariant internalIdVaraint = index.data(InternalIdRole);
if (internalIdVaraint.isValid()) {
qint32 internalId = internalIdVaraint.toInt();
QVariant internalIdVariant = index.data(InternalIdRole);
if (internalIdVariant.isValid()) {
qint32 internalId = internalIdVariant.toInt();
return m_view->hasModelNodeForInternalId(internalId);
}
......
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