refactor: Use override instead of virtual where possible (#4917)

This commit is contained in:
pajlada
2023-10-25 18:13:48 +02:00
committed by GitHub
parent da31e47f9a
commit 5c0219c245
54 changed files with 193 additions and 203 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ class SwitcherItemDelegate : public QStyledItemDelegate
public:
SwitcherItemDelegate(QObject *parent = nullptr);
~SwitcherItemDelegate();
~SwitcherItemDelegate() override;
void paint(QPainter *painter, const QStyleOptionViewItem &option,
const QModelIndex &index) const override;
+1 -1
View File
@@ -16,7 +16,7 @@ class GenericListView : public QListView
public:
GenericListView();
virtual void setModel(QAbstractItemModel *model) override;
void setModel(QAbstractItemModel *model) override;
void setModel(GenericListModel *);
void setInvokeActionOnTab(bool);
bool eventFilter(QObject *watched, QEvent *event) override;