diff --git a/src/plugins/help/helpplugin.cpp b/src/plugins/help/helpplugin.cpp index 8421dca38d269cb2c2e46fc1a360aafe341dda8a..b7382315419ad97c7ce0ab59cbefc9767265f42d 100644 --- a/src/plugins/help/helpplugin.cpp +++ b/src/plugins/help/helpplugin.cpp @@ -639,6 +639,16 @@ void HelpPlugin::extensionsInitialized() needsSetup = true; } + QString addedDocs = m_helpEngine->customValue(QLatin1String("AddedDocs")).toString(); + if (!addedDocs.isEmpty()) { + QStringList documentationToAdd = addedDocs.split(";"); + foreach(QString item, documentationToAdd) { + needsSetup = true; + m_helpEngine->registerDocumentation(item); + } + m_helpEngine->removeCustomValue(QLatin1String("AddedDocs")); + } + if (needsSetup) m_helpEngine->setupData();