]> git.sesse.net Git - kdenlive/blobdiff - src/projectlist.cpp
Rewrite UI for title animation
[kdenlive] / src / projectlist.cpp
index 50f2ad794daec19fadeea33e5898d603605309bb..52e4287113b88ce571d6eeb87d17693543c68600 100644 (file)
@@ -878,7 +878,7 @@ void ProjectList::slotRefreshClipThumbnail(ProjectItem *item, bool update)
         int height = 50;
         int width = (int)(height  * m_render->dar());
         if (clip->clipType() == AUDIO) pix = KIcon("audio-x-generic").pixmap(QSize(width, height));
-        else if (clip->clipType() == TEXT || clip->clipType() == IMAGE) pix = KThumb::getFrame(item->referencedClip()->producer(), 0, width, height);
+        else if (clip->clipType() == IMAGE) pix = KThumb::getFrame(item->referencedClip()->producer(), 0, width, height);
         else pix = item->referencedClip()->thumbProducer()->extractImage(item->referencedClip()->getClipThumbFrame(), width, height);
         if (!pix.isNull()) {
             m_listView->blockSignals(true);