Commit 53a9f2b1 authored by Laurent Montel's avatar Laurent Montel 😁

Rename variable

parent e027cd38
......@@ -132,14 +132,14 @@ QString AutoCreateScriptUtil::tagValue(const QString &tag)
return QLatin1Char(':') + tag;
}
QString AutoCreateScriptUtil::strValue(QXmlStreamReader &node)
QString AutoCreateScriptUtil::strValue(QXmlStreamReader &element)
{
if (node.readNextStartElement()) {
const QStringRef textElementTagName = node.name();
if (element.readNextStartElement()) {
const QStringRef textElementTagName = element.name();
if (textElementTagName == QLatin1String("str")) {
return node.readElementText();
return element.readElementText();
} else {
node.skipCurrentElement();
element.skipCurrentElement();
}
}
return QString();
......
......@@ -34,7 +34,7 @@ QString createAddressList(const QString &str, bool addSemiColon = true);
QString negativeString(bool isNegative);
QString tagValueWithCondition(const QString &tag, bool notCondition);
QString tagValue(const QString &tag);
QString strValue(QXmlStreamReader &node);
QString strValue(QXmlStreamReader &element);
QStringList listValue(QXmlStreamReader &element);
QString listValueToStr(QXmlStreamReader &element);
QString fixListValue(QString valueStr);
......
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