From 2cd7c7b8c869b57404f6fe23cabc40b72ec30041 Mon Sep 17 00:00:00 2001 From: kh1 <qt-info@nokia.com> 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 adc028311f0..f5259658e61 100644 --- a/src/plugins/help/helpplugin.cpp +++ b/src/plugins/help/helpplugin.cpp @@ -532,6 +532,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() -- GitLab