| 277 | } |
| 278 | |
| 279 | void frmOptions::autoDetectEncodingClicked() { |
| 280 | bool checkedCE = static_cast<EncodingChangeMethod>( |
| 281 | ui.cbEncodingMethod->currentIndex()) == ECM_CHANGE; |
| 282 | bool checkedADE = ui.cbAutoDetectEncoding->isChecked(); |
| 283 | ui.cbEncFrom->setEnabled(checkedCE && !checkedADE); |
| 284 | ui.lbConvertFrom->setEnabled(checkedCE && !checkedADE); |
| 285 | } |
| 286 | |
| 287 | void frmOptions::showAllEncodingsClicked() { |
| 288 | QString encFrom = ui.cbEncFrom->currentText(); |
nothing calls this directly
no test coverage detected