+void ProjectList::slotRefreshClipThumbnail(int clipId) {
+ ProjectItem *item = getItemById(clipId);
+ if (item) {
+ int height = 40;
+ int width = (int)(height * (double) m_render->renderWidth() / m_render->renderHeight());
+ QPixmap pix = KThumb::getImage(item->clipUrl(), item->referencedClip()->getProjectThumbFrame(), width, height);
+ item->setIcon(0, pix);
+ }
+}