void ProjectList::slotGotProxy(const QString &proxyPath)
{
- if (proxyPath.isEmpty()) return;
+ if (proxyPath.isEmpty() || !m_refreshed) return;
QTreeWidgetItemIterator it(m_listView);
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();
void ProjectList::slotCheckForEmptyQueue()
{
- if (!m_refreshed && m_processingClips.isEmpty() && m_thumbnailQueue.isEmpty() && m_infoQueue.isEmpty()) {
+ if (m_processingClips.isEmpty() && m_thumbnailQueue.isEmpty() && m_infoQueue.isEmpty()) {
+ if (!m_refreshed) {
+ emit loadingIsOver();
+ emit displayMessage(QString(), -1);
+ }
m_refreshed = true;
- emit loadingIsOver();
- emit displayMessage(QString(), -1);
m_listView->blockSignals(false);
m_listView->setEnabled(true);
updateButtons();