diff options
author | hjk <hjk@theqtcompany.com> | 2016-03-07 17:33:58 +0100 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2016-05-10 10:19:09 +0000 |
commit | d02919d85070975f6313e96e618b9adb47d6012c (patch) | |
tree | f3e02dc3ea8d745783bebdea83f1766abbdb5258 /src/plugins/valgrind/memcheckengine.cpp | |
parent | 494f4a77423d2ed88aaa14a0e791e9fef60d8216 (diff) | |
download | qt-creator-d02919d85070975f6313e96e618b9adb47d6012c.tar.gz |
Valgrind: Split MemCheck and CallGrind factories
The tools are separated everywhere, lumping them into the same
RunControlFactory removes modularity artificially.
Change-Id: I8d9e917bb114a1898a0c293f18d3bf78a52075aa
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/valgrind/memcheckengine.cpp')
-rw-r--r-- | src/plugins/valgrind/memcheckengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/valgrind/memcheckengine.cpp b/src/plugins/valgrind/memcheckengine.cpp index 6d4a212c89..bd4fbfcdf3 100644 --- a/src/plugins/valgrind/memcheckengine.cpp +++ b/src/plugins/valgrind/memcheckengine.cpp @@ -128,8 +128,8 @@ QStringList MemcheckRunControl::suppressionFiles() const return m_settings->suppressionFiles(); } -MemcheckWithGdbRunControl::MemcheckWithGdbRunControl(RunConfiguration *runConfiguration) - : MemcheckRunControl(runConfiguration, MEMCHECK_WITH_GDB_RUN_MODE) +MemcheckWithGdbRunControl::MemcheckWithGdbRunControl(RunConfiguration *runConfiguration, Core::Id runMode) + : MemcheckRunControl(runConfiguration, runMode) { connect(&m_runner, &Memcheck::MemcheckRunner::started, this, &MemcheckWithGdbRunControl::startDebugger); |