forked from qt-creator/qt-creator
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user