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

Method getPages

launcher/ui/dialogs/ModDownloadDialog.cpp:128–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128QList<BasePage*> ModDownloadDialog::getPages()
129{
130 QList<BasePage*> pages;
131
132 pages.append(ModrinthModPage::create(this, m_instance));
133 if (APPLICATION->capabilities() & Application::SupportsFlame)
134 pages.append(FlameModPage::create(this, m_instance));
135
136 return pages;
137}
138
139void ModDownloadDialog::addSelectedMod(QString name, ModDownloadTask* task)
140{

Callers

nothing calls this directly

Calls 2

appendMethod · 0.80
capabilitiesMethod · 0.80

Tested by

no test coverage detected