forked from qt-creator/qt-creator
Analyzer: Remove intermediate "ValgrindTool" inheritance level
It's an empty shell nowadays. Change-Id: I661735eccf035b58cc405905a58bd74e787e6abc Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
This commit is contained in:
@@ -179,7 +179,7 @@ static void initKindFilterAction(QAction *action, const QList<int> &kinds)
|
||||
}
|
||||
|
||||
MemcheckTool::MemcheckTool(QObject *parent)
|
||||
: ValgrindTool(parent)
|
||||
: IAnalyzerTool(parent)
|
||||
{
|
||||
m_settings = 0;
|
||||
m_errorModel = 0;
|
||||
@@ -286,6 +286,11 @@ RunMode MemcheckTool::runMode() const
|
||||
return MemcheckRunMode;
|
||||
}
|
||||
|
||||
bool MemcheckTool::canRun(RunConfiguration *, RunMode mode) const
|
||||
{
|
||||
return mode == MemcheckRunMode;
|
||||
}
|
||||
|
||||
QString MemcheckTool::displayName() const
|
||||
{
|
||||
return tr("Valgrind Memory Analyzer");
|
||||
|
||||
Reference in New Issue
Block a user