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
This commit is contained in:
kh1
2010-07-07 11:26:24 +02:00
parent 0fbc6f6402
commit b546e979d3

View File

@@ -535,6 +535,10 @@ void HelpPlugin::createRightPaneContextViewer()
connect(copy, SIGNAL(triggered()), m_helpViewerForSideBar, SLOT(copy())); connect(copy, SIGNAL(triggered()), m_helpViewerForSideBar, SLOT(copy()));
connect(next, SIGNAL(triggered()), m_helpViewerForSideBar, SLOT(forward())); connect(next, SIGNAL(triggered()), m_helpViewerForSideBar, SLOT(forward()));
connect(previous, SIGNAL(triggered()), m_helpViewerForSideBar, SLOT(backward())); 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() void HelpPlugin::activateHelpMode()