s/QLatin1String/QStringLiteral/

Use separate varible to fix compilation on FreeBSD
wilder-portage
Kurt Hindenburg 8 years ago
parent eb90e6fb48
commit 7693106396
  1. 3
      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));

Loading…
Cancel
Save