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

Method updateInstanceToolIcon

launcher/ui/MainWindow.cpp:1114–1120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1112}
1113
1114void MainWindow::updateInstanceToolIcon(QString new_icon)
1115{
1116 m_currentInstIcon = new_icon;
1117 auto icon = APPLICATION->icons()->getIcon(m_currentInstIcon);
1118 ui->actionChangeInstIcon->setIcon(icon);
1119 changeIconButton->setIcon(icon);
1120}
1121
1122void MainWindow::setSelectedInstanceById(const QString& id)
1123{

Callers

nothing calls this directly

Calls 3

iconsMethod · 0.80
getIconMethod · 0.45
setIconMethod · 0.45

Tested by

no test coverage detected