MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / countDebuggerViewsOfType

Method countDebuggerViewsOfType

pcsx2-qt/Debugger/Docking/DockLayout.cpp:369–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367}
368
369size_t DockLayout::countDebuggerViewsOfType(const char* type)
370{
371 size_t count = 0;
372 for (const auto& [unique_name, widget] : m_widgets)
373 {
374 if (strcmp(widget->metaObject()->className(), type) == 0)
375 count++;
376 }
377
378 return count;
379}
380
381void DockLayout::createDebuggerView(const std::string& type)
382{

Callers 1

openContextMenuMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected