From 74e36bc6ffb9ebb603aedf86673e67ca3dd0335e Mon Sep 17 00:00:00 2001 From: Kurt Hindenburg Date: Sun, 7 Jan 2018 13:11:55 -0500 Subject: [PATCH] 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"))) { --- src/Application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Application.cpp b/src/Application.cpp index da96b7afe..7f0edc6c7 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -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 iter(parser.parse(value));