summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/ServerList/ServerListDelegate.h2
-rw-r--r--Swift/QtUI/ServerList/ServerListModel.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Swift/QtUI/ServerList/ServerListDelegate.h b/Swift/QtUI/ServerList/ServerListDelegate.h
index 79afc37..3f8b72b 100644
--- a/Swift/QtUI/ServerList/ServerListDelegate.h
+++ b/Swift/QtUI/ServerList/ServerListDelegate.h
@@ -17,7 +17,7 @@ namespace Swift {
class ServerListDelegate : public QStyledItemDelegate {
public:
ServerListDelegate();
- ~ServerListDelegate();
+ ~ServerListDelegate() override;
QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const override;
void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const override;
private:
diff --git a/Swift/QtUI/ServerList/ServerListModel.h b/Swift/QtUI/ServerList/ServerListModel.h
index 86541a0..ae89ade 100644
--- a/Swift/QtUI/ServerList/ServerListModel.h
+++ b/Swift/QtUI/ServerList/ServerListModel.h
@@ -68,7 +68,7 @@ namespace Swift {
Q_OBJECT
public:
ServerListModel();
- ~ServerListModel();
+ ~ServerListModel() override;
QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override;
QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override;