Should be faster than using a full string. Found by krazy. --- src/slideshowclip.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/slideshowclip.cpp b/src/slideshowclip.cpp index e9cb422..457af2e 100644 --- a/src/slideshowclip.cpp +++ b/src/slideshowclip.cpp @@ -357,8 +357,8 @@ QString SlideshowClip::selectedPath(KUrl url, bool isMime, QString extension, QS gap++; } } - if (firstFrame > 0) extension = filter + "%" + QString::number(firstFrame).rightJustified(precision, '0', false) + "d" + ext; - else extension = filter + "%" + QString::number(precision) + "d" + ext; + if (firstFrame > 0) extension = filter + '%' + QString::number(firstFrame).rightJustified(precision, '0', false) + 'd' + ext; + else extension = filter + '%' + QString::number(precision) + 'd' + ext; } kDebug() << "// FOUND " << (*list).count() << " items for " << url.path(); return folder + extension; -- 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