Skip to content
Snippets Groups Projects
Commit 6bff94ac authored by Gennady Pospelov's avatar Gennady Pospelov
Browse files

Fix bug introduced by recent commits

parent 1077918c
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ SliderSettingsWidget::SliderSettingsWidget(QWidget* parent)
m_lockzCheckBox = new QCheckBox("Lock-Z");
m_lockzCheckBox->setToolTip(
"Preserve (min, max) range of intensity axis during parameter tuning.");
connect(m_lockzCheckBox, &QCheckBox::stateChanged, this, &SliderSettingsWidget::rangeChanged);
connect(m_lockzCheckBox, &QCheckBox::stateChanged, this, &SliderSettingsWidget::onLockZChanged);
QHBoxLayout* hbox = new QHBoxLayout;
......
......@@ -53,7 +53,7 @@ DesignerScene::DesignerScene(QObject* parent)
&DesignerScene::onEstablishedConnection);
connect(m_nodeEditor, &NodeEditor::selectionModeChangeRequest, this,
&DesignerScene::selectionModeChangeRequest);
connect(this, &DesignerScene::selectionChanged, [this]() { onSceneSelectionChanged(); });
connect(this, &DesignerScene::selectionChanged, this, &DesignerScene::onSceneSelectionChanged);
}
DesignerScene::~DesignerScene()
......
......@@ -18,8 +18,8 @@
IView::IView(QGraphicsItem* parent) : QGraphicsObject(parent), m_item(0)
{
connect(this, &IView::xChanged, [this]() { onChangedX(); });
connect(this, &IView::yChanged, [this]() { onChangedX(); });
connect(this, &IView::xChanged, this, &IView::onChangedX);
connect(this, &IView::yChanged, this, &IView::onChangedY);
}
IView::~IView()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment