MCPcopy Create free account
hub / github.com/MultiMC/Launcher / current

Method current

launcher/ui/pages/instance/VersionPage.cpp:560–568  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

558}
559
560Component * VersionPage::current()
561{
562 auto row = currentRow();
563 if(row < 0)
564 {
565 return nullptr;
566 }
567 return m_profile->getComponent(row);
568}
569
570int VersionPage::currentRow()
571{

Callers

nothing calls this directly

Calls 1

getComponentMethod · 0.80

Tested by

no test coverage detected