Commit 76a08973 authored by Lorenz Haas's avatar Lorenz Haas Committed by Nikolai Kosjar

CppEditor: Remove unneeded QString::fromLatin1 in GenerateGetterSetter

Change-Id: I47e8948980e3edb361c29b8976c5644dc696fd78
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
parent edf47e93
......@@ -2835,7 +2835,7 @@ public:
m_baseName.chop(1);
m_getterName = m_baseName != m_variableString
? QString::fromLatin1("%1").arg(m_baseName)
? m_baseName
: QString::fromLatin1("get%1%2")
.arg(m_baseName.left(1).toUpper()).arg(m_baseName.mid(1));
m_setterName = QString::fromLatin1("set%1%2")
......
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