]> git.sesse.net Git - kdenlive/blobdiff - src/dvdwizardmenu.h
Some cleanup in DVD wizard on menu button move
[kdenlive] / src / dvdwizardmenu.h
index 85522e72ea3f4b907dd0341a058a6747a1ae22be..8c4dd999ab2ea84c083a1cf9f1228aa4561837e7 100644 (file)
@@ -40,7 +40,7 @@
 
 class DvdScene : public QGraphicsScene
 {
-
+Q_OBJECT
 public:
     DvdScene(QObject * parent = 0): QGraphicsScene(parent) {
         m_width = 0; m_height = 0;
@@ -59,6 +59,14 @@ public:
 private:
     int m_width;
     int m_height;
+    
+protected:
+    void mouseReleaseEvent( QGraphicsSceneMouseEvent * mouseEvent ) {
+       QGraphicsScene::mouseReleaseEvent(mouseEvent);
+       emit sceneChanged();
+    }
+signals:
+    void sceneChanged();
 };
 
 class DvdButtonUnderline : public QGraphicsRectItem