Debugger: Add 'override' to *Engine classes

Thanks to clang-modernize.

Change-Id: Ie1998c32d492cb458b9b4649c425c0de272ce976
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
hjk
2015-09-10 11:01:09 +02:00
committed by David Schulz
parent 0095953e22
commit d15cb20ee2
6 changed files with 242 additions and 242 deletions

View File

@@ -188,12 +188,12 @@ public:
: m_engine(engine)
{}
bool canHandle(const Task &task) const
bool canHandle(const Task &task) const override
{
return m_debugInfoTasks.contains(task.taskId);
}
void handle(const Task &task)
void handle(const Task &task) override
{
m_engine->requestDebugInformation(m_debugInfoTasks.value(task.taskId));
}
@@ -203,7 +203,7 @@ public:
m_debugInfoTasks[id] = task;
}
QAction *createAction(QObject *parent) const
QAction *createAction(QObject *parent) const override
{
QAction *action = new QAction(DebuggerPlugin::tr("Install &Debug Information"), parent);
action->setToolTip(DebuggerPlugin::tr("Tries to install missing debug information."));