Commit b507b270 authored by Alessandro Portale's avatar Alessandro Portale
Browse files

Don't make a "help request" with an invalid url



Change-Id: I85df68b4ee1ee4d37b77a34ff8f7bce65d24dc0d
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent c0fe6211
......@@ -434,7 +434,8 @@ void ExamplesWelcomePage::openProject(const QString &projectFile, const QStringL
if (project->needsConfiguration())
project->configureAsExampleProject(platforms);
Core::ModeManager::activateModeType(Core::Constants::MODE_EDIT_TYPE);
Core::ICore::helpManager()->handleHelpRequest(help.toString()+QLatin1String("?view=split"));
if (help.isValid())
Core::ICore::helpManager()->handleHelpRequest(help.toString() + QLatin1String("?view=split"));
}
if (!errorMessage.isEmpty())
QMessageBox::critical(Core::ICore::mainWindow(), tr("Failed to Open Project"), errorMessage);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment