summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Molkentin <daniel.molkentin@nokia.com>2010-05-31 12:07:08 +0200
committerhjk <qtc-committer@nokia.com>2010-06-07 10:58:08 +0200
commit442ad26d325f2fd2a6303f4d8f32ccb2eae109d5 (patch)
treea81ac8b09ed92e382b6b0d2a7c0180af86eb1d00
parentc150dd85b01f0fe2e5739e7271275873a0f216b9 (diff)
downloadqt-creator-442ad26d325f2fd2a6303f4d8f32ccb2eae109d5.tar.gz
Do not try to force a version, this heuristic breaks too often.
Reviewed-by: Leena Miettinen (cherry picked from commit a7f1e80322254aec7f4b9b8a455424a9bb80dc53)
-rw-r--r--src/plugins/help/helpplugin.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/help/helpplugin.cpp b/src/plugins/help/helpplugin.cpp
index f26d24b8b2..b03719cd10 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"));
}