e.setAttribute("length", length);
}
}
- m_render->getFileProperties(e, item->clipId(), m_listView->iconSize().height(), true);
resetThumbsProducer(clip);
+ m_render->getFileProperties(e, item->clipId(), m_listView->iconSize().height(), true);
}
}
}
m_listView->processLayout();
QDomElement e = clip->toXML().cloneNode().toElement();
e.removeAttribute("file_hash");
- m_render->getFileProperties(e, clip->getId(), m_listView->iconSize().height(), true);
resetThumbsProducer(clip);
+ m_render->getFileProperties(e, clip->getId(), m_listView->iconSize().height(), true);
}
else if (item->hasProxy() && !item->isProxyRunning()) {
slotCreateProxy(clip->getId());
e.setAttribute("length", length);
}
}
+ resetThumbsProducer(clip);
m_render->getFileProperties(e, clip->getId(), m_listView->iconSize().height(), true);
}
xml.removeAttribute("proxy_out");
}
bool replace = xml.attribute("replace") == "1";
- m_render->getFileProperties(xml, clip->getId(), m_listView->iconSize().height(), replace);
if (replace) resetThumbsProducer(clip);
+ m_render->getFileProperties(xml, clip->getId(), m_listView->iconSize().height(), replace);
}
else {
item->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled | Qt::ItemIsDropEnabled);
{
if (!clip) return;
clip->clearThumbProducer();
- m_thumbnailQueue.removeAll(clip->getId());
+ QString id = clip->getId();
+ m_thumbnailQueue.removeAll(id);
}
void ProjectList::slotProcessNextThumbnail()