diff --git a/GraphicsView/include/CGAL/Qt/Basic_viewer_qt.h b/GraphicsView/include/CGAL/Qt/Basic_viewer_qt.h index 728d1ed7bc1..205f08149d0 100644 --- a/GraphicsView/include/CGAL/Qt/Basic_viewer_qt.h +++ b/GraphicsView/include/CGAL/Qt/Basic_viewer_qt.h @@ -1740,7 +1740,7 @@ void draw_buffer(Graphic_buffer &graphic_buffer) { const char *argv[2] = {"lccviewer", nullptr}; QApplication app(argc, const_cast(argv)); - Basic_viewer_qt basic_viewer(app.activeWindow(), graphic_buffer); + Basic_viewer_qt basic_viewer(app.activeWindow(), graphic_buffer); basic_viewer.show(); app.exec();