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

Method getThemedIcon

launcher/Application.cpp:1191–1197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1189}
1190
1191QIcon Application::getThemedIcon(const QString& name)
1192{
1193 if(name == "logo") {
1194 return QIcon(":/org.polymc.PolyMC.svg");
1195 }
1196 return QIcon::fromTheme(name);
1197}
1198
1199bool Application::openJsonEditor(const QString &filename)
1200{

Callers 15

dataMethod · 0.80
createMainToolbarMethod · 0.80
createNewsToolbarMethod · 0.80
createInstanceActionsMethod · 0.80
setupUiMethod · 0.80
MainWindowMethod · 0.80
defaultAccountChangedMethod · 0.80
iconMethod · 0.80
dataMethod · 0.80
iconMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected