aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/coreview/logicblock.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui/coreview/logicblock.h')
-rw-r--r--qtmips_gui/coreview/logicblock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtmips_gui/coreview/logicblock.h b/qtmips_gui/coreview/logicblock.h
index 2b0f3be..52569bf 100644
--- a/qtmips_gui/coreview/logicblock.h
+++ b/qtmips_gui/coreview/logicblock.h
@@ -52,7 +52,7 @@ public:
LogicBlock(QVector<QString> name);
~LogicBlock();
- QRectF boundingRect() const;
+ QRectF boundingRect() const override;
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override;
void setPos(qreal x, qreal y);
@@ -79,7 +79,7 @@ private:
QPointF con_pos(qreal x, qreal y);
protected:
- void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event);
+ void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event) override;
};
}