mirror of https://github.com/CGAL/cgal
deprecation starts in 6.7
This commit is contained in:
parent
18bf7051bd
commit
3b07e3f027
|
|
@ -142,10 +142,17 @@ public :
|
|||
this, &Basic_generator_plugin::on_tab_changed);
|
||||
connect(dock_widget, &GeneratorWidget::visibilityChanged,
|
||||
this, &Basic_generator_plugin::on_tab_changed);
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
|
||||
connect(dock_widget->prismCheckBox, &QCheckBox::checkStateChanged,
|
||||
this, &Basic_generator_plugin::on_tab_changed);
|
||||
connect(dock_widget->pyramidCheckBox, &QCheckBox::checkStateChanged,
|
||||
this, &Basic_generator_plugin::on_tab_changed);
|
||||
#else
|
||||
connect(dock_widget->prismCheckBox, &QCheckBox::stateChanged,
|
||||
this, &Basic_generator_plugin::on_tab_changed);
|
||||
connect(dock_widget->pyramidCheckBox, &QCheckBox::stateChanged,
|
||||
this, &Basic_generator_plugin::on_tab_changed);
|
||||
#endif
|
||||
}
|
||||
|
||||
bool applicable(QAction*) const
|
||||
|
|
|
|||
Loading…
Reference in New Issue