diff options
Diffstat (limited to 'qtmips_gui/coreview/and.h')
-rw-r--r-- | qtmips_gui/coreview/and.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_gui/coreview/and.h b/qtmips_gui/coreview/and.h index 3bb6cbe..0d5b957 100644 --- a/qtmips_gui/coreview/and.h +++ b/qtmips_gui/coreview/and.h @@ -48,7 +48,7 @@ public: ~And(); 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(unsigned) const; |