[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdenlive/Applications/16.12] src/mltcontroller: Fix typo
From:       Jean-Baptiste Mardelle <null () kde ! org>
Date:       2017-01-08 22:01:36
Message-ID: E1cQLWy-00043k-Ay () code ! kde ! org
[Download RAW message or body]

Git commit a5d8c86d8764157b7550557428c83ea2392dad39 by Jean-Baptiste Mardelle.
Committed on 08/01/2017 at 22:01.
Pushed by mardelle into branch 'Applications/16.12'.

Fix typo

M  +1    -1    src/mltcontroller/clipcontroller.cpp

https://commits.kde.org/kdenlive/a5d8c86d8764157b7550557428c83ea2392dad39

diff --git a/src/mltcontroller/clipcontroller.cpp b/src/mltcontroller/clipcontroller.cpp
index 730d038b7..8efba11fa 100644
--- a/src/mltcontroller/clipcontroller.cpp
+++ b/src/mltcontroller/clipcontroller.cpp
@@ -402,7 +402,7 @@ QString ClipController::clipName() const
 {
     QString name = property(QStringLiteral("kdenlive:clipname"));
     if (!name.isEmpty()) return name;
-    return QFile(m_path).fileName();
+    return QFileInfo(m_path).fileName();
 }
 
 QString ClipController::description() const
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic