summaryrefslogtreecommitdiff
path: root/src/plugins/cmakeprojectmanager/cmakerunconfiguration.cpp
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2011-02-24 14:58:37 +0100
committerKai Koehne <kai.koehne@nokia.com>2011-02-25 09:24:39 +0100
commit5d615f7fbf0788670b15988971983d096e2a148d (patch)
tree976a0b1ee236bb472274224fc727304cd624712e /src/plugins/cmakeprojectmanager/cmakerunconfiguration.cpp
parent3930450efb7bd07091c711cce23dcdfde3730a24 (diff)
downloadqt-creator-5d615f7fbf0788670b15988971983d096e2a148d.tar.gz
QmlDebug: Enable 'What are the prerequisites?' link in run configuration
DebuggerLanguageChooser is in utils, which is why we cannot directly open the URL in the help plugin.
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakerunconfiguration.cpp')
-rw-r--r--src/plugins/cmakeprojectmanager/cmakerunconfiguration.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakerunconfiguration.cpp b/src/plugins/cmakeprojectmanager/cmakerunconfiguration.cpp
index 366ef0dea4..7a187ba167 100644
--- a/src/plugins/cmakeprojectmanager/cmakerunconfiguration.cpp
+++ b/src/plugins/cmakeprojectmanager/cmakerunconfiguration.cpp
@@ -39,6 +39,7 @@
#include "cmaketarget.h"
#include <coreplugin/coreconstants.h>
+#include <coreplugin/helpmanager.h>
#include <projectexplorer/debugginghelper.h>
#include <utils/qtcassert.h>
#include <utils/debuggerlanguagechooser.h>
@@ -412,6 +413,8 @@ CMakeRunConfigurationWidget::CMakeRunConfigurationWidget(CMakeRunConfiguration *
this, SLOT(useQmlDebuggerToggled(bool)));
connect(m_debuggerLanguageChooser, SIGNAL(qmlDebugServerPortChanged(uint)),
this, SLOT(qmlDebugServerPortChanged(uint)));
+ connect(m_debuggerLanguageChooser, SIGNAL(openHelpUrl(QString)),
+ Core::HelpManager::instance(), SLOT(handleHelpRequest(QString)));
connect(m_environmentWidget, SIGNAL(userChangesChanged()),
this, SLOT(userChangesChanged()));