MCPcopy Create free account
hub / github.com/MultiMC/Launcher / on_iconButton_clicked

Method on_iconButton_clicked

launcher/ui/dialogs/CopyInstanceDialog.cpp:94–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void CopyInstanceDialog::on_iconButton_clicked()
95{
96 IconPickerDialog dlg(this);
97 dlg.execWithSelection(InstIconKey);
98
99 if (dlg.result() == QDialog::Accepted)
100 {
101 InstIconKey = dlg.selectedIconKey;
102 ui->iconButton->setIcon(APPLICATION->icons()->getIcon(InstIconKey));
103 }
104}
105
106void CopyInstanceDialog::on_instNameTextBox_textChanged(const QString &arg1)
107{

Callers

nothing calls this directly

Calls 5

execWithSelectionMethod · 0.80
getIconMethod · 0.80
iconsMethod · 0.80
resultMethod · 0.45
setIconMethod · 0.45

Tested by

no test coverage detected