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

List:       kde-commits
Subject:    [kdenlive/next] src: Dont try to fetch thumbs if we don't want them
From:       Vincent PINON <vincent.pinon () laposte ! net>
Date:       2014-04-30 20:27:55
Message-ID: E1Wfb6h-0003AX-OQ () scm ! kde ! org
[Download RAW message or body]

Git commit 5a491def63962dc19a33d51196f0f85c806fa018 by Vincent PINON, on behalf of Jean-Baptiste Mardelle.
Committed on 30/03/2014 at 00:38.
Pushed by vpinon into branch 'next'.

Dont try to fetch thumbs if we don't want them

M  +1    -1    src/clipitem.cpp

http://commits.kde.org/kdenlive/5a491def63962dc19a33d51196f0f85c806fa018

diff --git a/src/clipitem.cpp b/src/clipitem.cpp
index a4d582f..74a3650 100644
--- a/src/clipitem.cpp
+++ b/src/clipitem.cpp
@@ -597,7 +597,7 @@ void ClipItem::refreshClip(bool checkDuration, bool forceResetThumbs)
         colour = colour.replace(0, 2, "#");
         m_baseColor = QColor(colour.left(7));
         update();
-    } else resetThumbs(forceResetThumbs);
+    } else if (m_hasThumbs && KdenliveSettings::videothumbnails()) resetThumbs(forceResetThumbs);
 }
 
 void ClipItem::slotFetchThumbs()

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

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