summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-09-29 22:13:44 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-29 15:23:25 -0700
commit574065b31430245a66808561b1b95139c4cd19f2 (patch)
tree844736a0bf6969af96953db49d247123ff92f787 /desktop-widgets/tab-widgets
parentd7e3d68f368a2febcc17b436e097a97a7c0f8ad3 (diff)
downloadsubsurface-574065b31430245a66808561b1b95139c4cd19f2.tar.gz
Cleanup: reinstate override modifiers
This reverts commit 1c4a859c8d0b37b2e938209fe9c4d99e9758327a, where the override modifiers were removed owing to the noisy "inconsistent override modifiers" which is default-on in clang. This warning was disabled in 77577f717f5aad38ea8c4c41c10c181486c4337f, so we can reinstate the overrides. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/tab-widgets')
-rw-r--r--desktop-widgets/tab-widgets/TabDiveExtraInfo.h4
-rw-r--r--desktop-widgets/tab-widgets/TabDiveInformation.h4
-rw-r--r--desktop-widgets/tab-widgets/TabDivePhotos.h6
-rw-r--r--desktop-widgets/tab-widgets/TabDiveStatistics.h4
4 files changed, 9 insertions, 9 deletions
diff --git a/desktop-widgets/tab-widgets/TabDiveExtraInfo.h b/desktop-widgets/tab-widgets/TabDiveExtraInfo.h
index 2b0ffc143..86ed7abbe 100644
--- a/desktop-widgets/tab-widgets/TabDiveExtraInfo.h
+++ b/desktop-widgets/tab-widgets/TabDiveExtraInfo.h
@@ -15,8 +15,8 @@ class TabDiveExtraInfo : public TabBase {
public:
TabDiveExtraInfo(QWidget *parent = 0);
~TabDiveExtraInfo();
- void updateData();
- void clear();
+ void updateData() override;
+ void clear() override;
private:
Ui::TabDiveExtraInfo *ui;
ExtraDataModel *extraDataModel;
diff --git a/desktop-widgets/tab-widgets/TabDiveInformation.h b/desktop-widgets/tab-widgets/TabDiveInformation.h
index 19c2cf155..80579dbd1 100644
--- a/desktop-widgets/tab-widgets/TabDiveInformation.h
+++ b/desktop-widgets/tab-widgets/TabDiveInformation.h
@@ -13,8 +13,8 @@ class TabDiveInformation : public TabBase {
public:
TabDiveInformation(QWidget *parent = 0);
~TabDiveInformation();
- void updateData();
- void clear();
+ void updateData() override;
+ void clear() override;
private:
Ui::TabDiveInformation *ui;
diff --git a/desktop-widgets/tab-widgets/TabDivePhotos.h b/desktop-widgets/tab-widgets/TabDivePhotos.h
index 5298c7039..f172df180 100644
--- a/desktop-widgets/tab-widgets/TabDivePhotos.h
+++ b/desktop-widgets/tab-widgets/TabDivePhotos.h
@@ -15,11 +15,11 @@ class TabDivePhotos : public TabBase {
public:
TabDivePhotos(QWidget *parent = 0);
~TabDivePhotos();
- void updateData();
- void clear();
+ void updateData() override;
+ void clear() override;
protected:
- void contextMenuEvent(QContextMenuEvent *ev);
+ void contextMenuEvent(QContextMenuEvent *ev) override;
private slots:
void addPhotosFromFile();
diff --git a/desktop-widgets/tab-widgets/TabDiveStatistics.h b/desktop-widgets/tab-widgets/TabDiveStatistics.h
index 94d2e71b0..c763b2e88 100644
--- a/desktop-widgets/tab-widgets/TabDiveStatistics.h
+++ b/desktop-widgets/tab-widgets/TabDiveStatistics.h
@@ -13,8 +13,8 @@ class TabDiveStatistics : public TabBase {
public:
TabDiveStatistics(QWidget *parent = 0);
~TabDiveStatistics();
- void updateData();
- void clear();
+ void updateData() override;
+ void clear() override;
private:
Ui::TabDiveStatistics *ui;