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

Method findPageEntryById

launcher/ui/widgets/PageContainer_p.h:84–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 }
83
84 BasePage * findPageEntryById(QString id)
85 {
86 for(auto page: m_pages)
87 {
88 if (page->id() == id)
89 return page;
90 }
91 return nullptr;
92 }
93
94 QList<BasePage *> m_pages;
95 QIcon m_emptyIcon;

Callers 1

selectPageMethod · 0.80

Calls 1

idMethod · 0.45

Tested by

no test coverage detected