BUG: 213985
svn path=/trunk/KDE/kdebase/apps/; revision=
1060029
void VersionControlObserver::applyUpdatedItemStates()
{
void VersionControlObserver::applyUpdatedItemStates()
{
+ if (m_plugin == 0) {
+ // The signal finished() has been emitted, but the thread has been marked
+ // as invalid in the meantime. Just ignore the signal in this case.
+ return;
+ }
+
if (!m_updateItemStatesThread->retrievedItems()) {
// ignore m_silentUpdate for an error message
emit errorMessage(i18nc("@info:status", "Update of version information failed."));
if (!m_updateItemStatesThread->retrievedItems()) {
// ignore m_silentUpdate for an error message
emit errorMessage(i18nc("@info:status", "Update of version information failed."));