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:
@@ -79,7 +79,6 @@ public:
|
||||
protected:
|
||||
virtual Link findLinkAt(const QTextCursor &, bool resolveTarget = true,
|
||||
bool inNextSplit = false);
|
||||
BaseTextEditor *createEditor();
|
||||
void contextMenuEvent(QContextMenuEvent *);
|
||||
};
|
||||
|
||||
@@ -171,11 +170,6 @@ ProFileEditorWidget::Link ProFileEditorWidget::findLinkAt(const QTextCursor &cur
|
||||
return link;
|
||||
}
|
||||
|
||||
BaseTextEditor *ProFileEditorWidget::createEditor()
|
||||
{
|
||||
QTC_ASSERT("should not happen anymore" && false, return 0);
|
||||
}
|
||||
|
||||
void ProFileEditorWidget::contextMenuEvent(QContextMenuEvent *e)
|
||||
{
|
||||
showDefaultContextMenu(e, Constants::M_CONTEXT);
|
||||
|
||||
Reference in New Issue
Block a user