summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2018-07-19 16:46:29 (GMT)
committerKevin Smith <git@kismith.co.uk>2018-07-19 16:46:29 (GMT)
commitcc4bdf756f3e9f9451231d59d2b5dcacd1af6d1e (patch)
tree7488a2994245766d6cc085373b33978e8f523ddc /Swift/QtUI
parent0011a649c6bf997dd3a5cf7fabe3c9733fc573f9 (diff)
downloadswift-cc4bdf756f3e9f9451231d59d2b5dcacd1af6d1e.zip
swift-cc4bdf756f3e9f9451231d59d2b5dcacd1af6d1e.tar.bz2
Fix compiler warnings
Test-Information: Compiles now, didn't before (mac allow_warnings=0). Change-Id: I6bff608d8c308e933e8582242a3c9d55858981ce
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
@@ -19,3 +19,3 @@ namespace Swift {
ServerListDelegate();
- ~ServerListDelegate();
+ ~ServerListDelegate() override;
QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const override;
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
@@ -70,3 +70,3 @@ namespace Swift {
ServerListModel();
- ~ServerListModel();
+ ~ServerListModel() override;