forked from qt-creator/qt-creator
Add override keyword to IEditor & TextEditorWidget implementations
Change-Id: I403101d788d9edfea5c5c9440ab4f39ad00e81f7 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -53,7 +53,7 @@ class SelectableTextEditorWidget : public TextEditor::TextEditorWidget
|
||||
Q_OBJECT
|
||||
public:
|
||||
SelectableTextEditorWidget(Core::Id id, QWidget *parent = 0);
|
||||
~SelectableTextEditorWidget();
|
||||
~SelectableTextEditorWidget() override;
|
||||
void setSelections(const QMap<int, QList<DiffSelection> > &selections);
|
||||
|
||||
private:
|
||||
@@ -61,7 +61,7 @@ private:
|
||||
const QTextBlock &block,
|
||||
const QPointF &offset,
|
||||
const QVector<QTextLayout::FormatRange> &selections,
|
||||
const QRect &clipRect) const;
|
||||
const QRect &clipRect) const override;
|
||||
|
||||
// block number, list of ranges
|
||||
// DiffSelection.start - can be -1 (continues from the previous line)
|
||||
|
||||
Reference in New Issue
Block a user