TextEditorActionHandler: Remove virtual keywords

No class derives from this, so the virtuals are not needed.

Change-Id: I251abc32cef6f4aacf39f31af1106eeebd8fe31e
Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
Daniel Teske
2013-05-13 19:18:04 +02:00
parent 386923faf8
commit 67e91ce3d9
2 changed files with 2 additions and 11 deletions

View File

@@ -471,16 +471,8 @@ void TextEditorActionHandler::createActions()
}
bool TextEditorActionHandler::supportsAction(const Core::Id & /*id */) const
{
return true;
}
QAction *TextEditorActionHandler::registerNewAction(const Core::Id &id, bool scriptable, const QString &title)
{
if (!supportsAction(id))
return 0;
QAction *result = new QAction(title, this);
Core::ActionManager::registerAction(result, id, m_contextId, scriptable);
return result;