compile everything with QT_USE_FAST_CONCATENATION

This commit is contained in:
Oswald Buddenhagen
2010-02-04 14:58:33 +01:00
parent 7df3082b6c
commit e70530c5ad
9 changed files with 15 additions and 13 deletions

View File

@@ -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;
}