forked from qt-creator/qt-creator
compile everything with QT_USE_FAST_CONCATENATION
This commit is contained in:
@@ -800,8 +800,9 @@ QString BookmarkManager::uniqueFolderName() const
|
||||
foreach (const QStandardItem *item, list)
|
||||
names << item->text();
|
||||
|
||||
QString folderNameBase = tr("New Folder") + QLatin1String(" %1");
|
||||
for (int i = 1; i <= names.count(); ++i) {
|
||||
folderName = (tr("New Folder") + QLatin1String(" %1")).arg(i);
|
||||
folderName = folderNameBase.arg(i);
|
||||
if (!names.contains(folderName))
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user