From b546e979d36103c881b46decf6bfea35161e23b0 Mon Sep 17 00:00:00 2001 From: kh1 Date: Wed, 7 Jul 2010 11:26:24 +0200 Subject: [PATCH] Force engine setup. If we where not in full help mode at least once, the engine would still run without valid help collection due to the new lazy initialisation, thus the right side pane would not be able to retrieve the requested help file. Reviewed-by: ck --- src/plugins/help/helpplugin.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/plugins/help/helpplugin.cpp b/src/plugins/help/helpplugin.cpp index e7fb61520e2..045292a1a5a 100644 --- a/src/plugins/help/helpplugin.cpp +++ b/src/plugins/help/helpplugin.cpp @@ -535,6 +535,10 @@ void HelpPlugin::createRightPaneContextViewer() connect(copy, SIGNAL(triggered()), m_helpViewerForSideBar, SLOT(copy())); connect(next, SIGNAL(triggered()), m_helpViewerForSideBar, SLOT(forward())); connect(previous, SIGNAL(triggered()), m_helpViewerForSideBar, SLOT(backward())); + + // force setup, as we might have never switched to full help mode + // thus the help engine might still run without collection file setup + m_helpManager->setupGuiHelpEngine(); } void HelpPlugin::activateHelpMode()