summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Hindenburg <[email protected]>2018-01-13 10:32:05 -0500
committerKurt Hindenburg <[email protected]>2018-01-13 10:32:13 -0500
commit7693106396c9fbe62c3b20a0709bda5f88e58929 (patch)
tree80d24daf3fb7d07619fc80c06bba1885171c0d0c
parenteb90e6fb4846dfdb479484fefd66a14bf4c32d02 (diff)
s/QLatin1String/QStringLiteral/
Use separate varible to fix compilation on FreeBSD
-rw-r--r--src/Application.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Application.cpp b/src/Application.cpp
index 7f0edc6..7bd04f6 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<Profile::Property, QVariant> iter(parser.parse(value));