From 12642cc49a37e50eb3b099bfd34c28e6259b7526 Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 28 Aug 2014 11:34:19 +0200 Subject: 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 --- src/plugins/pythoneditor/pythoneditor.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/plugins/pythoneditor/pythoneditor.cpp') diff --git a/src/plugins/pythoneditor/pythoneditor.cpp b/src/plugins/pythoneditor/pythoneditor.cpp index 1f05378866..96be07bc01 100644 --- a/src/plugins/pythoneditor/pythoneditor.cpp +++ b/src/plugins/pythoneditor/pythoneditor.cpp @@ -57,7 +57,7 @@ namespace Internal { // PythonEditor // -class PythonEditor : public TextEditor::BaseTextEditor +class PythonEditor : public BaseTextEditor { public: PythonEditor() @@ -80,7 +80,7 @@ public: // PythonEditorWidget // -class PythonEditorWidget : public TextEditor::BaseTextEditorWidget +class PythonEditorWidget : public BaseTextEditorWidget { public: PythonEditorWidget() @@ -89,11 +89,6 @@ public: setMarksVisible(true); setCodeFoldingSupported(true); } - - TextEditor::BaseTextEditor *createEditor() - { - QTC_ASSERT("should not happen anymore" && false, return 0); - } }; -- cgit v1.2.1