Commit fdc3c1b6 authored by Kurt Hindenburg's avatar Kurt Hindenburg

Use QList::reserve

parent a03d773e
......@@ -203,6 +203,7 @@ bool shouldUseNewProcess(int argc, char *argv[])
// We need to manually parse the arguments because QApplication removes the
// Qt specific arguments (like --reverse)
QStringList arguments;
arguments.reserve(argc);
for (int i = 0; i < argc; i++) {
arguments.append(QString::fromLocal8Bit(argv[i]));
}
......
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