this, SLOT(delayedDirectoryVerification()));
connect(m_dirLister, SIGNAL(newItems(const KFileItemList&)),
this, SLOT(delayedDirectoryVerification()));
- connect(m_plugin, SIGNAL(revisionStatesChanged(const QString&)),
+ connect(m_plugin, SIGNAL(revisionStatesChanged()),
this, SLOT(delayedDirectoryVerification()));
}
updateItemStates();
this, SLOT(delayedDirectoryVerification()));
disconnect(m_dirLister, SIGNAL(newItems(const KFileItemList&)),
this, SLOT(delayedDirectoryVerification()));
- disconnect(m_plugin, SIGNAL(revisionStatesChanged(const QString&)),
+ disconnect(m_plugin, SIGNAL(revisionStatesChanged()),
this, SLOT(delayedDirectoryVerification()));
}
}
{
if (m_contextItems.isEmpty()) {
emit operationCompletedMessage(m_operationCompletedMsg);
+ emit revisionStatesChanged();
} else {
startSvnCommandProcess();
}
signals:
/**
- * Should be emitted when the revision state of files has been changed
- * after the last retrieval. The file manager will be triggered to
+ * Should be emitted when the revision state of files might have been changed
+ * after the last retrieval (e. g. by executing a context menu action
+ * of the revision control plugin). The file manager will be triggered to
* update the revision states of the directory \p directory by invoking
* RevisionControlPlugin::beginRetrieval(),
* RevisionControlPlugin::revisionState() and
* RevisionControlPlugin::endRetrieval().
*/
- void revisionStatesChanged(const QString& directory);
+ void revisionStatesChanged();
/**
* Is emitted if an information message with the content \a msg