Fix path to qt creator documentation.

broke with the introduction of ICore::documentationPath in
60f7f00e41

Change-Id: Ic63ded85bcbe27f64ad2a9436683472cc8bf01b8
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Eike Ziller
2013-06-18 09:22:46 +02:00
parent c915b3247d
commit 7a7efd3e2e

View File

@@ -384,8 +384,7 @@ void HelpPlugin::extensionsInitialized()
{
QStringList filesToRegister;
// we might need to register creators inbuild help
filesToRegister.append(QDir::cleanPath(QCoreApplication::applicationDirPath()
+ ICore::documentationPath() + QLatin1String("/qtcreator.qch")));
filesToRegister.append(ICore::documentationPath() + QLatin1String("/qtcreator.qch"));
Core::HelpManager::instance()->registerDocumentation(filesToRegister);
}