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

diff --git a/src/utils/openclipart.cpp b/src/utils/openclipart.cpp
index a120266..e106d22 100644
--- a/src/utils/openclipart.cpp
+++ b/src/utils/openclipart.cpp
@@ -115,7 +115,7 @@ QString OpenClipArt::getDefaultDownloadName(QListWidgetItem 
*item)
     if (!item) return QString();
     QString url = item->data(downloadRole).toString();
     QString path = item->text();
-    path.append("." + url.section('.', -1));
+    path.append('.' + url.section('.', -1));
     return path;
 }
 
-- 
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