Commit 247272f8 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.statesEditor: names of statesa should be english

We should not translate state names.

Change-Id: I0e1e254f95d58e66a4606300ba9dfb4477cab4b7
Reviewed-on: http://codereview.qt.nokia.com/515

Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarKai Koehne <kai.koehne@nokia.com>
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
parent 723a2048
......@@ -133,7 +133,7 @@ void StatesEditorView::addState()
QString newStateName;
int index = 1;
while (true) {
newStateName = tr("State%1", "Default name for newly created states").arg(index++);
newStateName = QString("State%1").arg(index++);
if (!modelStateNames.contains(newStateName))
break;
}
......
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