summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Hindenburg <[email protected]>2018-01-03 09:34:14 -0500
committerKurt Hindenburg <[email protected]>2018-01-03 09:34:14 -0500
commit7cd1dd536729f12e0f852ce73e8fb2a886aadbfa (patch)
tree31bbbd03fdce66264eb8f2d420c5f3f65298c13e
parenteab4e3d73510c4fc3dbc67def4bbf45a38385e01 (diff)
QLatin1String -> QStringLiteral
-rw-r--r--src/Application.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Application.cpp b/src/Application.cpp
index d827a55..da96b7a 100644
--- a/src/Application.cpp
+++ b/src/Application.cpp
@@ -142,7 +142,7 @@ void Application::populateCommandLineParser(QCommandLineParser *parser)
QStringList Application::getCustomCommand(QStringList &args)
{
- int i = args.indexOf(QLatin1String("-e"));
+ int i = args.indexOf(QStringLiteral("-e"));
QStringList customCommand;
if ((0 < i) && (i < (args.size() - 1))) {
// -e was specified with at least one extra argument
@@ -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(QLatin1String("p"))) {
+ foreach (const QString &value, m_parser->values(QStringLiteral("p"))) {
ProfileCommandParser parser;
QHashIterator<Profile::Property, QVariant> iter(parser.parse(value));