nodeparamview: fix null receiver warning

This commit is contained in:
itsmattkc
2022-05-23 11:35:56 -07:00
parent f697530574
commit d600d3acb8
@@ -83,7 +83,7 @@ void NodeParamViewItem::Retranslate()
void NodeParamViewItem::RecreateBody()
{
QWidget *old_body = body_;
delete body_;
body_ = new NodeParamViewItemBody(node_, create_checkboxes_);
connect(body_, &NodeParamViewItemBody::RequestSelectNode, this, &NodeParamViewItem::RequestSelectNode);
@@ -95,8 +95,6 @@ void NodeParamViewItem::RecreateBody()
body_->SetTime(time_);
body_->SetTimebase(timebase_);
SetBody(body_);
old_body->deleteLater();
}
int NodeParamViewItem::GetElementY(const NodeInput &c) const