forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -155,7 +155,6 @@ public:
|
||||
private:
|
||||
bool save(const QString &fileName = QString());
|
||||
Link findLinkAt(const QTextCursor &cursor, bool resolveTarget = true, bool inNextSplit = false);
|
||||
BaseTextEditor *createEditor();
|
||||
void contextMenuEvent(QContextMenuEvent *e);
|
||||
};
|
||||
|
||||
@@ -164,11 +163,6 @@ CMakeEditorWidget::CMakeEditorWidget()
|
||||
setCodeFoldingSupported(true);
|
||||
}
|
||||
|
||||
BaseTextEditor *CMakeEditorWidget::createEditor()
|
||||
{
|
||||
QTC_ASSERT("should not happen anymore" && false, return 0);
|
||||
}
|
||||
|
||||
void CMakeEditorWidget::contextMenuEvent(QContextMenuEvent *e)
|
||||
{
|
||||
showDefaultContextMenu(e, Constants::M_CONTEXT);
|
||||
|
||||
Reference in New Issue
Block a user