MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / addAction

Method addAction

launcher/ui/widgets/WideBar.cpp:62–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void WideBar::addAction(QAction* action)
63{
64 auto entry = new BarEntry();
65 entry->qAction = addWidget(new ActionButton(action, this));
66 entry->wideAction = action;
67 entry->type = BarEntry::Action;
68 m_entries.push_back(entry);
69}
70
71void WideBar::addSeparator()
72{

Callers 10

createMainToolbarMethod · 0.80
createMenuBarMethod · 0.80
createNewsToolbarMethod · 0.80
createInstanceToolbarMethod · 0.80
MainWindowMethod · 0.80
updateToolsMenuMethod · 0.80
createContextMenuMethod · 0.80
ProfileSetupDialogMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected