From cc4bdf756f3e9f9451231d59d2b5dcacd1af6d1e Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Thu, 19 Jul 2018 17:46:29 +0100 Subject: Fix compiler warnings Test-Information: Compiles now, didn't before (mac allow_warnings=0). Change-Id: I6bff608d8c308e933e8582242a3c9d55858981ce 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; -- cgit v0.10.2-6-g49f6