summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkh1 <qt-info@nokia.com>2010-03-04 18:45:38 +0100
committerkh1 <qt-info@nokia.com>2010-03-04 18:48:50 +0100
commit9aaf2ec84ca2515f499543b150aff3f552b773ab (patch)
tree780edc992505c40b5f9be0ca6b6b03f97330af47 /src
parent0521722bd5c62989e1048b45cdb6a5f602a5d97c (diff)
downloadqt-creator-9aaf2ec84ca2515f499543b150aff3f552b773ab.tar.gz
Remove the register call for the qml file, I put it into help module.
Diffstat (limited to 'src')
-rw-r--r--src/plugins/qmljseditor/qmljseditorplugin.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/plugins/qmljseditor/qmljseditorplugin.cpp b/src/plugins/qmljseditor/qmljseditorplugin.cpp
index 34684c95ad..418252c99a 100644
--- a/src/plugins/qmljseditor/qmljseditorplugin.cpp
+++ b/src/plugins/qmljseditor/qmljseditorplugin.cpp
@@ -51,7 +51,6 @@
#include <texteditor/textfilewizard.h>
#include <texteditor/texteditoractionhandler.h>
#include <texteditor/completionsupport.h>
-#include <help/helpmanager.h>
#include <utils/qtcassert.h>
#include <QtCore/QtPlugin>
@@ -151,27 +150,6 @@ bool QmlJSEditorPlugin::initialize(const QStringList & /*arguments*/, QString *e
void QmlJSEditorPlugin::extensionsInitialized()
{
- //
- // Explicitly register qml.qch if located in creator directory.
- //
- // This is only needed for the creator-qml package, were we
- // want to ship the documentation without a qt development version.
- //
-
- ExtensionSystem::PluginManager *pluginManager = ExtensionSystem::PluginManager::instance();
- Help::HelpManager *helpManager = pluginManager->getObject<Help::HelpManager>();
-
- Q_ASSERT(helpManager);
-
- const QString qmlHelpFile =
- QDir::cleanPath(QCoreApplication::applicationDirPath()
-#if defined(Q_OS_MAC)
- + QLatin1String("/../Resources/doc/qml.qch"));
-#else
- + QLatin1String("../../share/doc/qtcreator/qml.qch"));
-#endif
-
- helpManager->registerDocumentation(QStringList(qmlHelpFile));
}
void QmlJSEditorPlugin::initializeEditor(QmlJSEditor::Internal::QmlJSTextEditor *editor)