Commit 384a2a08 authored by Robert Loehning's avatar Robert Loehning

ModelEditor: Remove dead code

Change-Id: I7997edc25242c7c8ed65dfb6675e7c21cf6c70b3
Reviewed-by: default avatarJochen Becher <jochen_becher@gmx.de>
Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
parent 91e9ba7e
......@@ -62,10 +62,7 @@ QString NameController::convertFileNameToElementName(const QString &fileName)
elementName += baseName.at(i).toTitleCase();
makeTitlecase = false;
} else {
if (insertSpace) {
elementName += QLatin1Char(' ');
insertSpace = false;
}
// insertSpace must be false here
elementName += baseName.at(i);
}
}
......
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