Should be faster than using a full string. Found by krazy.
---
src/clipproperties.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/clipproperties.cpp b/src/clipproperties.cpp
index ed3c037..ed52808 100644
--- a/src/clipproperties.cpp
+++ b/src/clipproperties.cpp
@@ -518,7 +518,7 @@ ClipProperties::ClipProperties(QList <DocClipBase
*>cliplist, Timecode tc, QMap
setFont(KGlobalSettings::toolBarFont());
m_view.setupUi(this);
QString title = windowTitle();
- title.append(" " + i18np("(%1 clip)", "(%1 clips)", cliplist.count()));
+ title.append(' ' + i18np("(%1 clip)", "(%1 clips)", cliplist.count()));
setWindowTitle(title);
QMap <QString, QString> props = cliplist.at(0)->properties();
m_old_props = commonproperties;
@@ -1005,7 +1005,7 @@ void ClipProperties::parseFolder()
QString filter = KUrl(m_view.clip_path->text()).fileName();
QString ext = filter.section('.', -1);
filter = filter.section('%', 0, -2);
- QString regexp = "^" + filter + "\\d+\\." + ext + "$";
+ QString regexp = '^' + filter + "\\d+\\." + ext + '$';
QRegExp rx(regexp);
QStringList entries;
foreach(const QString & path, result) {
--
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/kdenlive-devel