diff options
author | hjk <hjk121@nokiamail.com> | 2014-08-28 11:34:19 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-08-28 17:36:36 +0200 |
commit | 12642cc49a37e50eb3b099bfd34c28e6259b7526 (patch) | |
tree | c6f444c1acfe2d662506c9c77b0a10289eb4da26 /src/plugins/texteditor/snippets | |
parent | 761f8de751e0d52105dba3df7473f10c0a884e45 (diff) |
TextEditor: Remove some *Widget::createEditor implementation
This removes the ones that were not to be used anymore.
The fallback in the base class is left in for now.
Change-Id: I5e7ab16497a83eff9b11deb9e1feb390757eac0e
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'src/plugins/texteditor/snippets')
-rw-r--r-- | src/plugins/texteditor/snippets/snippeteditor.cpp | 5 | ||||
-rw-r--r-- | src/plugins/texteditor/snippets/snippeteditor.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/texteditor/snippets/snippeteditor.cpp b/src/plugins/texteditor/snippets/snippeteditor.cpp index 3d4dbe17d92..eae0b91be11 100644 --- a/src/plugins/texteditor/snippets/snippeteditor.cpp +++ b/src/plugins/texteditor/snippets/snippeteditor.cpp @@ -73,9 +73,4 @@ void SnippetEditorWidget::focusOutEvent(QFocusEvent *event) BaseTextEditorWidget::focusOutEvent(event); } -BaseTextEditor *SnippetEditorWidget::createEditor() -{ - QTC_ASSERT("should not happen anymore" && false, return 0); -} - } // namespace diff --git a/src/plugins/texteditor/snippets/snippeteditor.h b/src/plugins/texteditor/snippets/snippeteditor.h index 1378129a181..21f6f7bcbb6 100644 --- a/src/plugins/texteditor/snippets/snippeteditor.h +++ b/src/plugins/texteditor/snippets/snippeteditor.h @@ -49,7 +49,6 @@ protected: virtual void focusOutEvent(QFocusEvent *event); virtual int extraAreaWidth(int * /* markWidthPtr */ = 0) const { return 0; } - virtual BaseTextEditor *createEditor(); }; } // namespace TextEditor |