summaryrefslogtreecommitdiff
path: root/src/plugins/help/openpagesmanager.cpp
diff options
context:
space:
mode:
authorkh1 <qt-info@nokia.com>2010-06-11 13:11:37 +0200
committerkh1 <qt-info@nokia.com>2010-06-11 13:11:37 +0200
commit1b6ad087950ca0753f9e17016b618bc6656004af (patch)
tree3f04a59717d3f5ab80e4c6fd74a71d8d29e8e693 /src/plugins/help/openpagesmanager.cpp
parent40b983a91b306c3f21e2b973b8b63f1b913e26c2 (diff)
downloadqt-creator-1b6ad087950ca0753f9e17016b618bc6656004af.tar.gz
Move help manager into core.
- lessens open file handles - improves help plugin startup further Task-number: QTCREATORBUG-337 Reviewed-by: ck
Diffstat (limited to 'src/plugins/help/openpagesmanager.cpp')
-rw-r--r--src/plugins/help/openpagesmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/help/openpagesmanager.cpp b/src/plugins/help/openpagesmanager.cpp
index 5396f05aac..5762ee7686 100644
--- a/src/plugins/help/openpagesmanager.cpp
+++ b/src/plugins/help/openpagesmanager.cpp
@@ -41,7 +41,7 @@
#include <QtGui/QComboBox>
#include <QtGui/QTreeView>
-#include <QtHelp/QHelpEngineCore>
+#include <QtHelp/QHelpEngine>
using namespace Help::Internal;
@@ -118,7 +118,7 @@ QStringList splitString(const QVariant &value)
void OpenPagesManager::setupInitialPages()
{
- const QHelpEngineCore &engine = HelpManager::helpEngineCore();
+ const QHelpEngineCore &engine = LocalHelpManager::helpEngine();
const int option = engine.customValue(QLatin1String("StartOption"),
Help::Constants::ShowLastPages).toInt();
QString homePage = engine.customValue(QLatin1String("DefaultHomePage"),