summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@theqtcompany.com>2015-05-18 11:44:22 +0200
committerEike Ziller <eike.ziller@theqtcompany.com>2015-05-18 11:38:20 +0000
commit19dca2adc4683e63751cd13a5d97ce535cf709e2 (patch)
tree0b1c95bbf0d4ce71abb9fe0678a6280c6556839e
parent9edbd01922b1d9237030d1eb55d4e1e25483280c (diff)
downloadqt-creator-19dca2adc4683e63751cd13a5d97ce535cf709e2.tar.gz
Help: Fix QDesktopServices url handler for qthelp urls
Change-Id: If55a35fcd0960bd7ac215493ccc7e4118a8c3187 Task-number: QTCREATORBUG-14459 Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
-rw-r--r--src/plugins/help/helpplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/help/helpplugin.cpp b/src/plugins/help/helpplugin.cpp
index 6079eb8b60..baf14aa267 100644
--- a/src/plugins/help/helpplugin.cpp
+++ b/src/plugins/help/helpplugin.cpp
@@ -233,7 +233,7 @@ bool HelpPlugin::initialize(const QStringList &arguments, QString *error)
connect(remoteHelpFilter, SIGNAL(linkActivated(QUrl)), this,
SLOT(showLinkInHelpMode(QUrl)));
- QDesktopServices::setUrlHandler(QLatin1String("qthelp"), this, "handleHelpRequest");
+ QDesktopServices::setUrlHandler(QLatin1String("qthelp"), HelpManager::instance(), "handleHelpRequest");
connect(ModeManager::instance(), SIGNAL(currentModeChanged(Core::IMode*,Core::IMode*)),
this, SLOT(modeChanged(Core::IMode*,Core::IMode*)));