Commit 3f9198bc authored by Kurt Hindenburg's avatar Kurt Hindenburg

Fix clazy-detaching-temporary issues - change [] to .at()

parent e4b082f6
......@@ -321,8 +321,8 @@ QHash<Profile::Property, QVariant> ProfileCommandParser::parse(const QString& in
while (regExp.indexIn(input, offset) != -1) {
if (regExp.capturedTexts().count() == 3) {
Profile::Property property = Profile::lookupByName(
regExp.capturedTexts()[1]);
const QString value = regExp.capturedTexts()[2];
regExp.capturedTexts().at(1));
const QString value = regExp.capturedTexts().at(2);
changes.insert(property, value);
}
......
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