Rename 'name' member of ActionDescription to 'customName'

* This is a deliberate break of compatibility since the field is now often
  empty, for non-markers. This means code will get a more explicit error when
  the name is being referenced, so it can be updated to fetch the name it needs
  as needed.
This commit is contained in:
baldurk
2021-06-24 15:10:02 +01:00
parent 7149302680
commit d0accc409b
36 changed files with 373 additions and 275 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ void APIInspector::fillAPIView()
{
if(action->IsFakeMarker())
{
RDTreeWidgetItem *root = new RDTreeWidgetItem({lit("---"), QString(action->name)});
RDTreeWidgetItem *root = new RDTreeWidgetItem({lit("---"), QString(action->customName)});
root->setBold(true);
ui->apiEvents->addTopLevelItem(root);
ui->apiEvents->setSelectedItem(root);