Fix broken behavior for welcome page links if no docs are installed.

In case of split mode we did not check if the actual requested doc
exists and thus did fail to open the browser if it could not be found.

Reviewed-by: Daniel Molkentin
This commit is contained in:
kh1
2010-03-10 18:24:13 +01:00
parent 51c0913a73
commit 4e7bbbdaaf
5 changed files with 23 additions and 40 deletions

View File

@@ -41,16 +41,11 @@ HelpManager::HelpManager(HelpPlugin* plugin)
{
}
void HelpManager::openHelpPage(const QString& url)
void HelpManager::handleHelpRequest(const QString &url)
{
m_plugin->handleHelpRequest(url);
}
void HelpManager::openContextHelpPage(const QString& url)
{
m_plugin->openContextHelpPage(url);
}
void HelpManager::registerDocumentation(const QStringList &fileNames)
{
if (m_plugin) {