mirror of https://github.com/CGAL/cgal
remove warnings about hiding an init method
This commit is contained in:
parent
edec4ad54c
commit
33c1161ffe
|
|
@ -21,6 +21,7 @@ class Polyhedron_demo_join_polyhedra_plugin:
|
|||
QAction* actionJoinPolyhedra;
|
||||
public:
|
||||
QList<QAction*> actions() const { return QList<QAction*>() << 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);
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ class Polyhedron_demo_polyhedron_stitching_plugin :
|
|||
QAction* actionStitchBorders;
|
||||
public:
|
||||
QList<QAction*> actions() const { return QList<QAction*>() << 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);
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ public:
|
|||
}
|
||||
void print_message(QString message) { messages->information(message); }
|
||||
QList<QAction*> actions() const { return QList<QAction*>() << actionSelection; }
|
||||
using Polyhedron_demo_plugin_helper::init;
|
||||
void init(QMainWindow* mainWindow, Scene_interface* scene_interface, Messages_interface* m) {
|
||||
mw = mainWindow;
|
||||
scene = scene_interface;
|
||||
|
|
|
|||
Loading…
Reference in New Issue