diff options
author | Alexander Volkov <avolkov@astralinux.ru> | 2020-06-24 16:21:07 +0300 |
---|---|---|
committer | Alexander Volkov <avolkov@astralinux.ru> | 2020-06-25 13:57:55 +0300 |
commit | b01f476957f31a109b5e293b596aee2fb3c07c7f (patch) | |
tree | 16f9a2d61563e816cc4bef76d50abbb85ad41ca9 /src/charts/legend/legendlayout_p.h | |
parent | 2b1698862d93c4256ea4deae720d00269c448d5e (diff) |
Add missing override
Change-Id: I9544a80e1f73b3490c5c2d6bb246f83c41561c53
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/charts/legend/legendlayout_p.h')
-rw-r--r-- | src/charts/legend/legendlayout_p.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/charts/legend/legendlayout_p.h b/src/charts/legend/legendlayout_p.h index 13593b16..6135d7bd 100644 --- a/src/charts/legend/legendlayout_p.h +++ b/src/charts/legend/legendlayout_p.h @@ -54,17 +54,17 @@ public: LegendLayout(QLegend *legend); virtual ~LegendLayout(); - void setGeometry(const QRectF &rect); + void setGeometry(const QRectF &rect) override; void setOffset(qreal x, qreal y); QPointF offset() const; - void invalidate(); + void invalidate() override; protected: - QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint = QSizeF()) const; - int count() const { return 0; } - QGraphicsLayoutItem *itemAt(int) const { return 0; }; - void removeAt(int) {}; + QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint = QSizeF()) const override; + int count() const override { return 0; } + QGraphicsLayoutItem *itemAt(int) const override { return 0; }; + void removeAt(int) override {}; private: void setAttachedGeometry(const QRectF &rect); |