diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-07-01 10:41:58 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-07-01 10:41:58 +0200 |
commit | ffc931a61c6f64821e9c174dfd849df69a25bd08 (patch) | |
tree | 2f6ca96d0812f497cafd3ccb752f4de72537b163 /qtmips_gui/coreview/multiplexer.h | |
parent | 3620538812a9df490ace6b3adf8bd120b7a0027b (diff) | |
download | qtmips-ffc931a61c6f64821e9c174dfd849df69a25bd08.tar.gz qtmips-ffc931a61c6f64821e9c174dfd849df69a25bd08.tar.bz2 qtmips-ffc931a61c6f64821e9c174dfd849df69a25bd08.zip |
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 <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/coreview/multiplexer.h')
-rw-r--r-- | qtmips_gui/coreview/multiplexer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_gui/coreview/multiplexer.h b/qtmips_gui/coreview/multiplexer.h index 0ba8cd9..a10b330 100644 --- a/qtmips_gui/coreview/multiplexer.h +++ b/qtmips_gui/coreview/multiplexer.h @@ -49,7 +49,7 @@ public: ~Multiplexer(); QRectF boundingRect() const; - void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget); + virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override; void setPos(qreal x, qreal y); const Connector *connector_ctl() const; // Control input |