Commit 7be7c50f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Reserve elements

parent cbde9247
Pipeline #22917 passed with stage
in 18 minutes and 55 seconds
......@@ -56,6 +56,7 @@ QStringList Global::assistants()
}
}
QStringList lstAssistants;
lstAssistants.reserve(list.count());
for (const QString &entry : qAsConst(list)) {
const QFileInfo info(entry);
const QDir dir(info.absolutePath());
......
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