forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user