From ffc931a61c6f64821e9c174dfd849df69a25bd08 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Mon, 1 Jul 2019 10:41:58 +0200 Subject: Resolve all remaining warnings reported by GCC 6.3. Unresolved are drawRoundRect, QFontMetrics::width which are deprecated in newer Qt versions. Signed-off-by: Pavel Pisa --- qtmips_gui/coreview/value.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qtmips_gui/coreview/value.h') diff --git a/qtmips_gui/coreview/value.h b/qtmips_gui/coreview/value.h index a8c1e76..0db8b59 100644 --- a/qtmips_gui/coreview/value.h +++ b/qtmips_gui/coreview/value.h @@ -50,7 +50,7 @@ public: QChar fillchr = '0', bool frame = true); QRectF boundingRect() const; - void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget); + virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override; public slots: void value_update(std::uint32_t); -- cgit v1.2.3