mirror of https://github.com/CGAL/cgal
simplify connection
This commit is contained in:
parent
f61b088576
commit
0ff77b2751
|
|
@ -227,8 +227,9 @@ MainWindow::MainWindow(const QStringList &keywords, bool verbose, QWidget* paren
|
|||
connect(scene, SIGNAL(dataChanged(const QModelIndex &, const QModelIndex & )),
|
||||
this, SLOT(updateInfo()));
|
||||
|
||||
connect(scene, SIGNAL(dataChanged(const QModelIndex &, const QModelIndex & )),
|
||||
this, SLOT(filterOperations()));
|
||||
connect(scene, &Scene::dataChanged,
|
||||
this, [this]() { filterOperations(false); });
|
||||
|
||||
|
||||
connect(scene, SIGNAL(dataChanged(const QModelIndex &, const QModelIndex & )),
|
||||
this, SLOT(updateDisplayInfo()));
|
||||
|
|
|
|||
|
|
@ -366,7 +366,6 @@ protected Q_SLOTS:
|
|||
//!Hides not available operations and show available operations in all the
|
||||
//!menus.
|
||||
void filterOperations(bool hide);
|
||||
void filterOperations(){ filterOperations(false); };
|
||||
//!Updates the bounding box and moves the camera to fits the scene.
|
||||
void recenterScene();
|
||||
//!Resizes the header of the scene view
|
||||
|
|
|
|||
Loading…
Reference in New Issue