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

Method iconUpdated

launcher/ui/MainWindow.cpp:1840–1848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1838}
1839
1840void MainWindow::iconUpdated(QString icon)
1841{
1842 if (icon == m_currentInstIcon)
1843 {
1844 auto icon = APPLICATION->icons()->getIcon(m_currentInstIcon);
1845 ui->actionChangeInstIcon->setIcon(icon);
1846 ui->changeIconButton->setIcon(icon);
1847 }
1848}
1849
1850void MainWindow::updateInstanceToolIcon(QString new_icon)
1851{

Callers

nothing calls this directly

Calls 3

getIconMethod · 0.80
iconsMethod · 0.80
setIconMethod · 0.45

Tested by

no test coverage detected