summaryrefslogtreecommitdiff
path: root/src/plugins/valgrind/valgrindengine.cpp
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2015-06-19 08:34:46 +0200
committerhjk <hjk@theqtcompany.com>2015-06-19 08:17:02 +0000
commit92ec05c9bd083c13d6972ccc729c8a8a755b01f4 (patch)
treeca9166555eb0c9f77c29d4c94c627072a79cfc56 /src/plugins/valgrind/valgrindengine.cpp
parent8a1c603c0ded6f88698ba86737059bd2ac7ef781 (diff)
downloadqt-creator-92ec05c9bd083c13d6972ccc729c8a8a755b01f4.tar.gz
Valgrind: Start custom actions more directly
This does not need to go through the PE machinery. Change-Id: If0b2fde5309d7e119e8ac27245a22939b68d847d Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'src/plugins/valgrind/valgrindengine.cpp')
-rw-r--r--src/plugins/valgrind/valgrindengine.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/valgrind/valgrindengine.cpp b/src/plugins/valgrind/valgrindengine.cpp
index cac9fb67e4..0de0d0b728 100644
--- a/src/plugins/valgrind/valgrindengine.cpp
+++ b/src/plugins/valgrind/valgrindengine.cpp
@@ -60,13 +60,14 @@ ValgrindRunControl::ValgrindRunControl(const AnalyzerStartParameters &sp,
m_settings(0),
m_isStopping(false)
{
+ m_isCustomStart = false;
+
if (runConfiguration)
if (IRunConfigurationAspect *aspect = runConfiguration->extraAspect(ANALYZER_VALGRIND_SETTINGS))
m_settings = qobject_cast<ValgrindBaseSettings *>(aspect->currentSettings());
if (!m_settings)
m_settings = ValgrindPlugin::globalSettings();
-
}
ValgrindRunControl::~ValgrindRunControl()
@@ -100,7 +101,7 @@ bool ValgrindRunControl::startEngine()
run->setDebuggeeArguments(sp.debuggeeArgs);
run->setEnvironment(sp.environment);
run->setConnectionParameters(sp.connParams);
- run->setUseStartupProject(sp.useStartupProject);
+ run->setUseStartupProject(!m_isCustomStart);
run->setLocalRunMode(sp.localRunMode);
connect(run, &ValgrindRunner::processOutputReceived,