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

diff --git a/src/clipmanager.cpp b/src/clipmanager.cpp
index edd2ddf..13f4e5c 100644
--- a/src/clipmanager.cpp
+++ b/src/clipmanager.cpp
@@ -531,7 +531,7 @@ void ClipManager::slotAddClipList(const KUrl::List urls, 
const QString &group, c
                     KFileMetaInfo metaInfo(file.path(), QString("image/jpeg"), 
KFileMetaInfo::TechnicalInfo);
                     const QHash<QString, KFileMetaInfoItem> metaInfoItems = 
metaInfo.items();
                     foreach(const KFileMetaInfoItem & metaInfoItem, 
metaInfoItems) {
-                        prod.setAttribute("meta.attr." + 
metaInfoItem.name().section("#", 1), metaInfoItem.value().toString());
+                        prod.setAttribute("meta.attr." + 
metaInfoItem.name().section('#', 1), metaInfoItem.value().toString());
                     }
                 }
             } else if (type->is("application/x-kdenlivetitle")) {
-- 
1.7.10.4


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Kdenlive-devel mailing list
Kdenlive-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kdenlive-devel

Reply via email to