[Kdenlive-devel] [PATCH 12/46] transitionsettings.cpp: Use char for single character
Mikko Rapeli
mikko.rapeli at iki.fi
Sat Jul 14 07:55:59 UTC 2012
Should be faster than using a full string. Found by krazy.
---
src/transitionsettings.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/transitionsettings.cpp b/src/transitionsettings.cpp
index 8946e8d..6a6fe3b 100644
--- a/src/transitionsettings.cpp
+++ b/src/transitionsettings.cpp
@@ -94,7 +94,7 @@ void TransitionSettings::updateTrackList()
for (int i = limit; i < m_tracks.count(); i++) {
int ix = m_tracks.count() - i - 1;
transitionTrack->addItem(m_tracks.at(ix).type == VIDEOTRACK ? videoIcon : audioIcon,
- m_tracks.at(ix).trackName.isEmpty() ? QString::number(i) : m_tracks.at(ix).trackName + " (" + QString::number(i) + ")",
+ m_tracks.at(ix).trackName.isEmpty() ? QString::number(i) : m_tracks.at(ix).trackName + " (" + QString::number(i) + ')',
m_tracks.count() - i);
}
transitionTrack->addItem(i18n("Black"), 0);
--
1.7.10.4
More information about the Kdenlive
mailing list