mirror of
https://github.com/KDE/konsole.git
synced 2026-06-10 06:55:13 -04:00
add QList::reserve()
This commit is contained in:
@@ -64,6 +64,7 @@ QStringList ShellCommand::arguments() const
|
||||
QStringList ShellCommand::expand(const QStringList& items)
|
||||
{
|
||||
QStringList result;
|
||||
result.reserve(items.size());
|
||||
|
||||
foreach(const QString & item , items) {
|
||||
result << expand(item);
|
||||
|
||||
Reference in New Issue
Block a user