MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / iconUpdated

Method iconUpdated

launcher/ui/MainWindow.cpp:1105–1112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1103}
1104
1105void MainWindow::iconUpdated(QString icon)
1106{
1107 if (icon == m_currentInstIcon) {
1108 auto new_icon = APPLICATION->icons()->getIcon(m_currentInstIcon);
1109 ui->actionChangeInstIcon->setIcon(new_icon);
1110 changeIconButton->setIcon(new_icon);
1111 }
1112}
1113
1114void MainWindow::updateInstanceToolIcon(QString new_icon)
1115{

Callers

nothing calls this directly

Calls 3

iconsMethod · 0.80
getIconMethod · 0.45
setIconMethod · 0.45

Tested by

no test coverage detected