forked from qt-creator/qt-creator
Debugger: Move remaining Analyzer overlay icon to ProjectExplorer
It's the only remaining item and loosens the dependencies of ex-AnalyzerBase based plugins on the the Debugger. Change-Id: I943ac44401c440dd6d3d5c1f54f8f996accd2b4a Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
@@ -46,7 +46,6 @@
|
||||
|
||||
#include <debugger/debuggerconstants.h>
|
||||
#include <debugger/analyzer/analyzerconstants.h>
|
||||
#include <debugger/analyzer/analyzericons.h>
|
||||
#include <debugger/analyzer/analyzermanager.h>
|
||||
#include <debugger/analyzer/analyzerstartparameters.h>
|
||||
#include <debugger/analyzer/analyzerutils.h>
|
||||
@@ -297,7 +296,7 @@ CallgrindTool::CallgrindTool(QObject *parent)
|
||||
editorContextMenu->addSeparator(analyzerContext);
|
||||
|
||||
auto action = new QAction(tr("Profile Costs of This Function and Its Callees"), this);
|
||||
action->setIcon(Debugger::Icons::ANALYZER_CONTROL_START.icon());
|
||||
action->setIcon(ProjectExplorer::Icons::ANALYZER_START_SMALL.icon());
|
||||
connect(action, &QAction::triggered, this,
|
||||
&CallgrindTool::handleShowCostsOfFunction);
|
||||
Command *cmd = ActionManager::registerAction(action, "Analyzer.Callgrind.ShowCostsOfFunction",
|
||||
|
||||
Reference in New Issue
Block a user