Commit 37857b24 authored by Laurent Montel's avatar Laurent Montel 😁

Assign directly value

parent b59a497f
......@@ -38,9 +38,7 @@
static QStringList alternateExecPaths(const QString &path)
{
QStringList pathList;
pathList << path;
QStringList pathList{path};
#if defined(Q_OS_WIN) //krazy:exclude=cpp
pathList << path + QLatin1String(".exe");
......
Markdown is supported
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