Fix compile errors

This commit is contained in:
2026-01-05 01:50:05 +08:00
parent c136cdf7f6
commit cad331eb2c
33 changed files with 79 additions and 354 deletions
@@ -263,14 +263,6 @@ void NodeParamViewWidgetBridge::WidgetCallback()
case NodeValue::kSubtitleParams:
case NodeValue::kDataTypeCount:
break;
case NodeValue::kBinary: {
NodeParamViewTextEdit *line_edit =
new NodeParamViewTextEdit(parent);
widgets_.append(line_edit);
connect(line_edit, &NodeParamViewTextEdit::textEdited, this,
&NodeParamViewWidgetBridge::WidgetCallback);
break;
}
case NodeValue::kInt: {
// Widget is a IntegerSlider
IntegerSlider *slider = static_cast<IntegerSlider *>(sender());
+1 -1
View File
@@ -646,7 +646,7 @@ void NodeView::mouseDoubleClickEvent(QMouseEvent *event)
QStringLiteral("ParamPanel"))) {
panel->show();
panel->raise();
panel->setFocus();
panel->setFocus(Qt::OtherFocusReason);
}
}
}