From a7f1e80322254aec7f4b9b8a455424a9bb80dc53 Mon Sep 17 00:00:00 2001
From: Daniel Molkentin <daniel.molkentin@nokia.com>
Date: Mon, 31 May 2010 12:07:08 +0200
Subject: [PATCH] Do not try to force a version, this heuristic breaks too
 often.

Reviewed-by: Leena Miettinen
---
 src/plugins/help/helpplugin.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/plugins/help/helpplugin.cpp b/src/plugins/help/helpplugin.cpp
index f26d24b8b24..b03719cd10e 100644
--- a/src/plugins/help/helpplugin.cpp
+++ b/src/plugins/help/helpplugin.cpp
@@ -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"));
                 }
-- 
GitLab