aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/coreview/alu.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui/coreview/alu.h')
-rw-r--r--qtmips_gui/coreview/alu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_gui/coreview/alu.h b/qtmips_gui/coreview/alu.h
index e0012e6..9cd4877 100644
--- a/qtmips_gui/coreview/alu.h
+++ b/qtmips_gui/coreview/alu.h
@@ -47,7 +47,7 @@ public:
~Alu();
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_in_a() const;