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

Method updateListItem

pcsx2-qt/Settings/ControllerBindingWidget.cpp:329–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327ControllerMacroWidget::~ControllerMacroWidget() = default;
328
329void ControllerMacroWidget::updateListItem(u32 index)
330{
331 //: This is the full text that appears in each option of the 16 available macros, and reads like this:\n\nMacro 1\nNot Configured/Buttons configured
332 m_ui.portList->item(static_cast<int>(index))->setText(tr("Macro %1\n%2").arg(index + 1).arg(m_macros[index]->getSummary()));
333}
334
335void ControllerMacroWidget::createWidgets(ControllerBindingWidget* parent)
336{

Callers 1

updateBindsMethod · 0.80

Calls 2

argMethod · 0.80
getSummaryMethod · 0.80

Tested by

no test coverage detected