forked from qt-creator/qt-creator
Do not try to force a version, this heuristic breaks too often.
Reviewed-by: Leena Miettinen
This commit is contained in:
@@ -851,8 +851,7 @@ void HelpPlugin::handleHelpRequest(const QUrl &url)
|
|||||||
// local help not installed, resort to external web help
|
// local help not installed, resort to external web help
|
||||||
QString urlPrefix = QLatin1String("http://doc.trolltech.com/");
|
QString urlPrefix = QLatin1String("http://doc.trolltech.com/");
|
||||||
if (url.authority() == QLatin1String("com.nokia.qtcreator")) {
|
if (url.authority() == QLatin1String("com.nokia.qtcreator")) {
|
||||||
urlPrefix.append(QString::fromLatin1("qtcreator-%1.%2")
|
urlPrefix.append(QString::fromLatin1("qtcreator"));
|
||||||
.arg(IDE_VERSION_MAJOR).arg(IDE_VERSION_MINOR));
|
|
||||||
} else {
|
} else {
|
||||||
urlPrefix.append(QLatin1String("latest"));
|
urlPrefix.append(QLatin1String("latest"));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user