Do not try to force a version, this heuristic breaks too often.

Reviewed-by: Leena Miettinen
This commit is contained in:
Daniel Molkentin
2010-05-31 12:07:08 +02:00
parent d5f308032b
commit a7f1e80322

View File

@@ -851,8 +851,7 @@ void HelpPlugin::handleHelpRequest(const QUrl &url)
// local help not installed, resort to external web help
QString urlPrefix = QLatin1String("http://doc.trolltech.com/");
if (url.authority() == QLatin1String("com.nokia.qtcreator")) {
urlPrefix.append(QString::fromLatin1("qtcreator-%1.%2")
.arg(IDE_VERSION_MAJOR).arg(IDE_VERSION_MINOR));
urlPrefix.append(QString::fromLatin1("qtcreator"));
} else {
urlPrefix.append(QLatin1String("latest"));
}