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



Reply via email to