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

Method importIconNow

launcher/ui/dialogs/NewInstanceDialog.cpp:298–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296}
297
298void NewInstanceDialog::importIconNow()
299{
300 if(importIcon) {
301 APPLICATION->icons()->installIcon(importIconPath, importIconName);
302 InstIconKey = importIconName;
303 importIcon = false;
304 }
305 APPLICATION->settings()->set("NewInstanceGeometry", saveGeometry().toBase64());
306}

Callers

nothing calls this directly

Calls 4

installIconMethod · 0.80
iconsMethod · 0.80
setMethod · 0.45
settingsMethod · 0.45

Tested by

no test coverage detected