Do not rely on Pythons conversion from int to bool when connecting slots

The stateChanged signal of QCheckBox emits an int but the setEnabled slots
expect a bool.