X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmonitorscene.h;h=f5efa8e93f0566bebb49cadf907105b361922e39;hb=4ae3260592acc87712db77b7d3fe0cc2be7d76bc;hp=a6eb27e96b366e916146d848b1126bed6b6b6009;hpb=89b6a842077844b0a68c3cc5ac471f57487f9ff2;p=kdenlive diff --git a/src/monitorscene.h b/src/monitorscene.h index a6eb27e9..f5efa8e9 100644 --- a/src/monitorscene.h +++ b/src/monitorscene.h @@ -50,13 +50,13 @@ public: void centerView(); protected: - virtual void mousePressEvent(QGraphicsSceneMouseEvent *event); - virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *event); - virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event); + void mousePressEvent(QGraphicsSceneMouseEvent *event); + void mouseMoveEvent(QGraphicsSceneMouseEvent *event); + void mouseReleaseEvent(QGraphicsSceneMouseEvent *event); /** @brief Adds a keyframe if scene is disabled. */ - virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event); + void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event); /** @brief Reimplemented to allow zooming using ctrl + mouse wheel. */ - virtual void wheelEvent(QGraphicsSceneWheelEvent *event); + void wheelEvent(QGraphicsSceneWheelEvent *event); public slots: /** @brief Sets the backgrounditem's pixmap to m_backgroundImage (only if a certain amount of time has passed since last update). */