[Kdenlive-devel] [PATCH 19/46] transition.cpp: Use char for single character
Mikko Rapeli
mikko.rapeli at iki.fi
Sat Jul 14 07:56:06 UTC 2012
Should be faster than using a full string. Found by krazy.
---
src/transition.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/transition.cpp b/src/transition.cpp
index 12519ea..27f66cd 100644
--- a/src/transition.cpp
+++ b/src/transition.cpp
@@ -377,7 +377,7 @@ bool Transition::updateKeyframes()
}
if (keyframes.isEmpty()) return false;
int duration = cropDuration().frames(m_fps) - 1;
- QStringList values = keyframes.split(";");
+ QStringList values = keyframes.split(';');
int frame;
int i = 0;
foreach(const QString &pos, values) {
--
1.7.10.4
More information about the Kdenlive
mailing list