diff --git a/src/Application.cpp b/src/Application.cpp index 7f0edc6c..7bd04f63 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -509,7 +509,8 @@ Profile::Ptr Application::processProfileChangeArgs(Profile::Ptr baseProfile) } // temporary changes to profile options specified on the command line - foreach (const QString &value, m_parser->values(QLatin1String("p"))) { + const QStringList profileProperties = m_parser->values(QStringLiteral("p")); + foreach (const QString &value, profileProperties) { ProfileCommandParser parser; QHashIterator iter(parser.parse(value));