[Kdenlive-devel] [PATCH 36/46] cliptranscode.cpp: Use char for single character

Mikko Rapeli mikko.rapeli at iki.fi
Sat Jul 14 07:56:23 UTC 2012


Should be faster than using a full string. Found by krazy.
---
 src/cliptranscode.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cliptranscode.cpp b/src/cliptranscode.cpp
index fac4a04..59701ae 100644
--- a/src/cliptranscode.cpp
+++ b/src/cliptranscode.cpp
@@ -79,7 +79,7 @@ ClipTranscode::ClipTranscode(KUrl::List urls, const QString &params, const QStri
         QMapIterator<QString, QString> i(profiles);
         while (i.hasNext()) {
             i.next();
-            QStringList data = i.value().split(";");
+            QStringList data = i.value().split(';');
             profile_list->addItem(i.key(), data.at(0));
             if (data.count() > 1) profile_list->setItemData(profile_list->count() - 1, data.at(1), Qt::UserRole + 1);
         }
-- 
1.7.10.4





More information about the Kdenlive mailing list