summaryrefslogtreecommitdiffstats
path: root/src/core/color_chooser_qt.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-04-12 11:58:21 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2017-04-21 11:10:13 +0000
commita5c1754faa7bd9491fcf64dda34b479cdf62c9bd (patch)
tree61a093917f9c8308d2153335d49c58acc3836981 /src/core/color_chooser_qt.h
parentd08524fbfbb78eca09bbab58d5a9840387d2d0e7 (diff)
Standardize override declaration
Update our overrides to Qt coding standard getting rid of Q_DECL_OVERRIDE and redundant virtual declarations. Change-Id: Id8b0750eb05c51fc8f50cac4000a811eebcbf918 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/core/color_chooser_qt.h')
-rw-r--r--src/core/color_chooser_qt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/color_chooser_qt.h b/src/core/color_chooser_qt.h
index cd9f81fa7..200db3266 100644
--- a/src/core/color_chooser_qt.h
+++ b/src/core/color_chooser_qt.h
@@ -59,8 +59,8 @@ class ColorChooserQt : public content::ColorChooser
public:
ColorChooserQt(content::WebContents *, const QColor &);
- virtual void SetSelectedColor(SkColor color) Q_DECL_OVERRIDE { }
- virtual void End() Q_DECL_OVERRIDE {}
+ void SetSelectedColor(SkColor /*color*/) override { }
+ void End() override {}
QSharedPointer<ColorChooserController> controller();