Help: call setupData after setting the collection fileData

Setting the collection file leaves the help engine in an invalid state.
It is important to invoke setupData() in order to setup the help engine
again.

Change-Id: I252d7999c113db4f584bcaf94d42c609f507c1cb
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
David Schulz
2018-01-24 14:14:44 +01:00
parent 17c64e27f8
commit b500bba6af

View File

@@ -287,6 +287,7 @@ void LocalHelpManager::setupGuiHelpEngine()
if (m_needsCollectionFile) {
m_needsCollectionFile = false;
helpEngine().setCollectionFile(Core::HelpManager::collectionFilePath());
m_guiNeedsSetup = true;
}
if (m_guiNeedsSetup) {