MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / findMacroEditParent

Function findMacroEditParent

lib/utils/temp-variable.cpp:450–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

448}
449
450static MacroEdit *findMacroEditParent(QWidget *widget)
451{
452 if (!widget) {
453 return nullptr;
454 }
455
456 auto macroEdit = qobject_cast<MacroEdit *>(widget);
457 if (macroEdit) {
458 return macroEdit;
459 }
460
461 return findMacroEditParent(widget->parentWidget());
462}
463
464TempVariableSelection::TempVariableSelection(QWidget *parent)
465 : QWidget(parent),

Callers 1

TempVariableSelectionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected