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

Method addSeparator

launcher/ui/widgets/WideBar.cpp:71–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void WideBar::addSeparator()
72{
73 auto entry = new BarEntry();
74 entry->qAction = QToolBar::addSeparator();
75 entry->type = BarEntry::Separator;
76 m_entries.push_back(entry);
77}
78
79auto WideBar::getMatching(QAction* act) -> QList<BarEntry*>::iterator
80{

Callers 6

createMainToolbarMethod · 0.80
createMenuBarMethod · 0.80
createInstanceToolbarMethod · 0.80
updateToolsMenuMethod · 0.80
createContextMenuMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected