summaryrefslogtreecommitdiff
path: root/src/plugins/help
diff options
context:
space:
mode:
authorkh1 <qt-info@nokia.com>2010-07-07 11:26:24 +0200
committerkh1 <qt-info@nokia.com>2010-07-07 11:26:59 +0200
commitb546e979d36103c881b46decf6bfea35161e23b0 (patch)
treeb438bccbcba808166f9eef12399499952ec2e75f /src/plugins/help
parent0fbc6f64021c56e0511decb1af8e6206249f1e38 (diff)
downloadqt-creator-b546e979d36103c881b46decf6bfea35161e23b0.tar.gz
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
Diffstat (limited to 'src/plugins/help')
-rw-r--r--src/plugins/help/helpplugin.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/help/helpplugin.cpp b/src/plugins/help/helpplugin.cpp
index e7fb61520e..045292a1a5 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()