diff --git a/Polyhedron/demo/Polyhedron/Polyhedron_demo_join_polyhedra_plugin.cpp b/Polyhedron/demo/Polyhedron/Polyhedron_demo_join_polyhedra_plugin.cpp index 88a0fcfdac4..212b7ba3f14 100644 --- a/Polyhedron/demo/Polyhedron/Polyhedron_demo_join_polyhedra_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Polyhedron_demo_join_polyhedra_plugin.cpp @@ -21,6 +21,7 @@ class Polyhedron_demo_join_polyhedra_plugin: QAction* actionJoinPolyhedra; public: QList actions() const { return QList() << actionJoinPolyhedra; } + using Polyhedron_demo_plugin_helper::init; void init(QMainWindow* mainWindow, Scene_interface* scene_interface, Messages_interface* /* m */) { actionJoinPolyhedra= new QAction(tr("Join selected polyhedra"), mainWindow); diff --git a/Polyhedron/demo/Polyhedron/Polyhedron_demo_polyhedron_stitching_plugin.cpp b/Polyhedron/demo/Polyhedron/Polyhedron_demo_polyhedron_stitching_plugin.cpp index c99bcc8e3a3..95e6a1f5135 100644 --- a/Polyhedron/demo/Polyhedron/Polyhedron_demo_polyhedron_stitching_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Polyhedron_demo_polyhedron_stitching_plugin.cpp @@ -22,6 +22,7 @@ class Polyhedron_demo_polyhedron_stitching_plugin : QAction* actionStitchBorders; public: QList actions() const { return QList() << actionDetectBorders << actionStitchBorders; } + using Polyhedron_demo_plugin_helper::init; void init(QMainWindow* mainWindow, Scene_interface* scene_interface, Messages_interface* /* m */) { actionDetectBorders= new QAction(tr("Detect polyhedron boundaries"), mainWindow); diff --git a/Polyhedron/demo/Polyhedron/Polyhedron_demo_selection_plugin.cpp b/Polyhedron/demo/Polyhedron/Polyhedron_demo_selection_plugin.cpp index 4cc71a42c92..ca0f25487a3 100644 --- a/Polyhedron/demo/Polyhedron/Polyhedron_demo_selection_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Polyhedron_demo_selection_plugin.cpp @@ -29,6 +29,7 @@ public: } void print_message(QString message) { messages->information(message); } QList actions() const { return QList() << actionSelection; } + using Polyhedron_demo_plugin_helper::init; void init(QMainWindow* mainWindow, Scene_interface* scene_interface, Messages_interface* m) { mw = mainWindow; scene = scene_interface;