mirror of https://github.com/CGAL/cgal
changed [=,this] to [this]
This commit is contained in:
parent
f889663188
commit
0c1c37bf3a
|
|
@ -259,15 +259,10 @@ MainWindow::MainWindow(const QStringList &keywords, bool verbose, QWidget* paren
|
||||||
SIGNAL(selectionChanged ( const QItemSelection & , const QItemSelection & ) ),
|
SIGNAL(selectionChanged ( const QItemSelection & , const QItemSelection & ) ),
|
||||||
this, SLOT(selectionChanged()));
|
this, SLOT(selectionChanged()));
|
||||||
// setup menu filtering
|
// setup menu filtering
|
||||||
#ifndef CGAL_CXX20
|
|
||||||
connect(sceneView->selectionModel(),
|
connect(sceneView->selectionModel(),
|
||||||
QOverload<const QItemSelection & , const QItemSelection &>::of(&QItemSelectionModel::selectionChanged),
|
QOverload<const QItemSelection & , const QItemSelection &>::of(&QItemSelectionModel::selectionChanged),
|
||||||
this, [=](){filterOperations(false);});
|
this, [this](){filterOperations(false);});
|
||||||
#else
|
|
||||||
connect(sceneView->selectionModel(),
|
|
||||||
QOverload<const QItemSelection & , const QItemSelection &>::of(&QItemSelectionModel::selectionChanged),
|
|
||||||
this, [=,this](){filterOperations(false);});
|
|
||||||
#endif
|
|
||||||
|
|
||||||
sceneView->setContextMenuPolicy(Qt::CustomContextMenu);
|
sceneView->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||||
connect(sceneView, SIGNAL(customContextMenuRequested(const QPoint & )),
|
connect(sceneView, SIGNAL(customContextMenuRequested(const QPoint & )),
|
||||||
|
|
@ -371,13 +366,8 @@ MainWindow::MainWindow(const QStringList &keywords, bool verbose, QWidget* paren
|
||||||
operationSearchBar.setPlaceholderText("Filter...");
|
operationSearchBar.setPlaceholderText("Filter...");
|
||||||
searchAction->setDefaultWidget(&operationSearchBar);
|
searchAction->setDefaultWidget(&operationSearchBar);
|
||||||
|
|
||||||
#ifndef CGAL_CXX20
|
|
||||||
connect(&operationSearchBar, &QLineEdit::textChanged,
|
connect(&operationSearchBar, &QLineEdit::textChanged,
|
||||||
this, [=](){filterOperations(true);});
|
this, [this](){filterOperations(true);});
|
||||||
#else
|
|
||||||
connect(&operationSearchBar, &QLineEdit::textChanged,
|
|
||||||
this, [=,this](){filterOperations(true);});
|
|
||||||
#endif
|
|
||||||
|
|
||||||
loadPlugins();
|
loadPlugins();
|
||||||
accepted_keywords.clear();
|
accepted_keywords.clear();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue