From 9426caeeed127b07aa9e91594a0149cfa77cbc03 Mon Sep 17 00:00:00 2001
From: kh1 <qt-info@nokia.com>
Date: Tue, 2 Mar 2010 16:51:16 +0100
Subject: [PATCH] In case we remove docs, but do not add some we need to setup
 too.

---
 src/plugins/help/helpplugin.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/plugins/help/helpplugin.cpp b/src/plugins/help/helpplugin.cpp
index 4119fa8f90b..3f9418245ec 100644
--- a/src/plugins/help/helpplugin.cpp
+++ b/src/plugins/help/helpplugin.cpp
@@ -430,6 +430,8 @@ bool HelpPlugin::updateDocumentation()
                     qWarning() << "Error unregistering namespace '"
                         << nameSpace << "' from file '" << file << "': "
                         << hc.error();
+                } else {
+                    needsSetup = true;
                 }
             }
 
-- 
GitLab