[Kdenlive-devel] [PATCH 06/46] spacerdialog.cpp: Use char for single character
Mikko Rapeli
mikko.rapeli at iki.fi
Sat Jul 14 07:55:53 UTC 2012
Should be faster than using a full string. Found by krazy.
---
src/spacerdialog.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/spacerdialog.cpp b/src/spacerdialog.cpp
index 3cd4132..2b21e01 100644
--- a/src/spacerdialog.cpp
+++ b/src/spacerdialog.cpp
@@ -39,7 +39,7 @@ SpacerDialog::SpacerDialog(const GenTime duration, Timecode tc, int track, QList
trackItems << i18n("All tracks");
for (int i = tracks.count() - 1; i >= 0; --i) {
if (!tracks.at(i).trackName.isEmpty())
- trackItems << tracks.at(i).trackName + " (" + QString::number(i) + ")";
+ trackItems << tracks.at(i).trackName + " (" + QString::number(i) + ')';
else
trackItems << QString::number(i);
}
--
1.7.10.4
More information about the Kdenlive
mailing list