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-08 10:43:01 +0200
commit2cd7c7b8c869b57404f6fe23cabc40b72ec30041 (patch)
tree58bcc631936b46b168200a20b2c208fd158e92d3 /src/plugins/help
parenta8c5d1f84cf08c922bbc64ba83af59535bc8c2af (diff)
downloadqt-creator-2cd7c7b8c869b57404f6fe23cabc40b72ec30041.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 adc028311f..f5259658e6 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()