diff --git a/GraphicsView/demo/Segment_Delaunay_graph_2/Segment_voronoi_2.cpp b/GraphicsView/demo/Segment_Delaunay_graph_2/Segment_voronoi_2.cpp index 0f8763c28bd..dd472baa3a4 100644 --- a/GraphicsView/demo/Segment_Delaunay_graph_2/Segment_voronoi_2.cpp +++ b/GraphicsView/demo/Segment_Delaunay_graph_2/Segment_voronoi_2.cpp @@ -84,16 +84,12 @@ private: } protected slots: -void open(QString); + virtual void open(QString); public slots: void processInput(CGAL::Object o); - // void on_actionShowDelaunay_toggled(bool checked); - - // void on_actionShowConstraints_toggled(bool checked); - void on_actionInsertPolyline_toggled(bool checked); void on_actionClear_triggered(); @@ -121,6 +117,8 @@ MainWindow::MainWindow() { setupUi(this); + this->graphicsView->setAcceptDrops(false); + // Add a GraphicItem for the SVD triangulation sdggi = new CGAL::Qt::SegmentDelaunayGraphGraphicsItem(&svd); QColor segmentColor(::Qt::blue);