summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2017-02-05 17:23:52 +0100
committerMarc Mutz <marc.mutz@kdab.com>2017-02-06 10:12:36 +0000
commitbbd091ac5853d7884929369da4e1b5d233ca504c (patch)
tree3720e1c0b7f9ebd4feec88aeed5e5641057e522e /src
parentf53ab9d7363e2fb3b63cec1a00851f84f901de18 (diff)
QGtk3Menu: fix compilation with Clang 3.8
Clang complained about a missing override: qgtk3menu.h:58:14: error: 'tag' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override] Change-Id: I681cdeb93d35848ae39c1af289973b436e8ea60e Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/platformthemes/gtk3/qgtk3menu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platformthemes/gtk3/qgtk3menu.h b/src/plugins/platformthemes/gtk3/qgtk3menu.h
index ad108f1218..21e6178ec4 100644
--- a/src/plugins/platformthemes/gtk3/qgtk3menu.h
+++ b/src/plugins/platformthemes/gtk3/qgtk3menu.h
@@ -55,7 +55,7 @@ public:
GtkWidget *create();
GtkWidget *handle() const;
- quintptr tag() const;
+ quintptr tag() const override;
void setTag(quintptr tag) override;
QString text() const;