aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/valgrind/valgrindengine.cpp
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2016-05-30 16:56:46 +0200
committerhjk <hjk@theqtcompany.com>2016-05-31 11:07:06 +0000
commit0cf9b6e95664422e542f862470800aaa3de2c379 (patch)
treea53db7721a93411d0d421441aa69eb7fab548334 /src/plugins/valgrind/valgrindengine.cpp
parenta8a1b3b57305f5c986077b24cfdc05a933a80ed5 (diff)
Analyzer: Move toolbar icon specification down to individual RunControls
Giving individual RunControls the freedom back to decide what they want, even if they currrently decide to use the same one. Change-Id: Ia2acf4b9d32d23c486339b2488611038672aba25 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/plugins/valgrind/valgrindengine.cpp')
-rw-r--r--src/plugins/valgrind/valgrindengine.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/valgrind/valgrindengine.cpp b/src/plugins/valgrind/valgrindengine.cpp
index dde2ae7fd0..6e08ae66dc 100644
--- a/src/plugins/valgrind/valgrindengine.cpp
+++ b/src/plugins/valgrind/valgrindengine.cpp
@@ -36,6 +36,8 @@
#include <coreplugin/progressmanager/progressmanager.h>
#include <coreplugin/progressmanager/futureprogress.h>
#include <extensionsystem/pluginmanager.h>
+
+#include <projectexplorer/projectexplorericons.h>
#include <projectexplorer/runconfiguration.h>
#include <QApplication>
@@ -54,6 +56,7 @@ namespace Internal {
ValgrindRunControl::ValgrindRunControl(RunConfiguration *runConfiguration, Core::Id runMode)
: AnalyzerRunControl(runConfiguration, runMode)
{
+ setIcon(ProjectExplorer::Icons::ANALYZER_START_SMALL_TOOLBAR);
QTC_ASSERT(runConfiguration, return);
setRunnable(runConfiguration->runnable());