Commit 5f9106f4 authored by Laurent Montel's avatar Laurent Montel
Browse files

Use isEmpty

parent 7d247819
Pipeline #212169 passed with stage
in 37 seconds
......@@ -122,11 +122,11 @@ int main(int argc, char **argv)
if ( !args.isEmpty() )
profile = args[0];
QString file = cmdLine.value(QStringLiteral("auto"));
if ( file.length() )
const QString file = cmdLine.value(QStringLiteral("auto"));
if ( !file.isEmpty() )
profile = file;
if ( profile.length() )
if ( !profile.isEmpty() )
mainWin->loadProfile(profile, true);
if ( cmdLine.isSet(QStringLiteral("forceFull")) )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment