http://kdenlive.org/mantis/view.php?id=2218
svn path=/trunk/kdenlive/; revision=5769
void ProjectList::slotGotProxy(const QString &proxyPath)
{
void ProjectList::slotGotProxy(const QString &proxyPath)
{
- if (proxyPath.isEmpty()) return;
+ if (proxyPath.isEmpty() || !m_refreshed) return;
QTreeWidgetItemIterator it(m_listView);
ProjectItem *item;
QTreeWidgetItemIterator it(m_listView);
ProjectItem *item;
void ProjectList::slotGotProxy(ProjectItem *item)
{
void ProjectList::slotGotProxy(ProjectItem *item)
{
- if (item == NULL) return;
+ if (item == NULL || !m_refreshed) return;
DocClipBase *clip = item->referencedClip();
// Proxy clip successfully created
QDomElement e = clip->toXML().cloneNode().toElement();
DocClipBase *clip = item->referencedClip();
// Proxy clip successfully created
QDomElement e = clip->toXML().cloneNode().toElement();
QMenu *m_transcodeAction;
KdenliveDoc *m_doc;
ItemDelegate *m_listViewDelegate;
QMenu *m_transcodeAction;
KdenliveDoc *m_doc;
ItemDelegate *m_listViewDelegate;
- /** @brief True if we have not yet finished opening the document. */
+ /** @brief False if we have not yet finished opening the document. */
bool m_refreshed;
QToolButton *m_addButton;
QToolButton *m_deleteButton;
bool m_refreshed;
QToolButton *m_addButton;
QToolButton *m_deleteButton;