mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2025-01-15 19:51:31 +00:00
NOISSUE Connect signal in code instead of ui file
This commit is contained in:
parent
d6dabfa67d
commit
72e62058c0
@ -72,6 +72,8 @@ CreateShortcutDialog::CreateShortcutDialog(QWidget *parent, InstancePtr instance
|
||||
ui->createScriptCheckBox->setChecked(true);
|
||||
#endif
|
||||
|
||||
connect(ui->joinWorldCheckBox, &QCheckBox::toggled, this, &CreateShortcutDialog::updateDialogState);
|
||||
|
||||
updateDialogState();
|
||||
}
|
||||
|
||||
|
@ -454,22 +454,6 @@
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>joinWorldCheckBox</sender>
|
||||
<signal>toggled(bool)</signal>
|
||||
<receiver>CreateShortcutDialog</receiver>
|
||||
<slot>updateDialogState()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>140</x>
|
||||
<y>59</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>397</x>
|
||||
<y>164</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
<slots>
|
||||
<slot>updateDialogState()</slot>
|
||||
|
Loading…
Reference in New Issue
Block a user