]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/versioncontrol/versioncontrolobserver.cpp
don't update the version control emblems each time, reuse the cached versions (fixed...
[dolphin.git] / src / versioncontrol / versioncontrolobserver.cpp
index 9e52d1f5126c24f9be16be020d3c5fefd5d34086..a5e509055e591be533435f33558b61f8827af73d 100644 (file)
@@ -178,6 +178,12 @@ void VersionControlObserver::verifyDirectory()
 
 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."));