revert back to QLatin1String

On FreeBSD, QStringLiteral here generates this error:
512:53: error: lambda expression in an unevaluated operand
foreach (const QString &value, m_parser->values(QStringLiteral("p"))) {
This commit is contained in:
Kurt Hindenburg
2018-01-07 13:11:55 -05:00
parent be60d9151d
commit 74e36bc6ff

View File

@@ -509,7 +509,7 @@ Profile::Ptr Application::processProfileChangeArgs(Profile::Ptr baseProfile)
}
// temporary changes to profile options specified on the command line
foreach (const QString &value, m_parser->values(QStringLiteral("p"))) {
foreach (const QString &value, m_parser->values(QLatin1String("p"))) {
ProfileCommandParser parser;
QHashIterator<Profile::Property, QVariant> iter(parser.parse(value));