Commit 67e91ce3 authored by Daniel Teske's avatar Daniel Teske
Browse files

TextEditorActionHandler: Remove virtual keywords

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

Change-Id: I251abc32cef6f4aacf39f31af1106eeebd8fe31e
Reviewed-by: default avatarDavid Schulz <>
parent 386923fa
......@@ -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;
......@@ -86,9 +86,8 @@ protected:
enum UpdateMode { ReadOnlyMode, WriteMode };
UpdateMode updateMode() const;
virtual void createActions();
virtual bool supportsAction(const Core::Id &id) const;
virtual void updateActions(UpdateMode um);
void createActions();
void updateActions(UpdateMode um);
private slots:
void undoAction();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment