MCPcopy Create free account
hub / github.com/QNapi/qnapi / checkPbGetEnabled

Method checkPbGetEnabled

gui/src/forms/frmscan.cpp:217–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217void frmScan::checkPbGetEnabled() {
218 for (int i = 0; i < ui.lwMovies->count(); ++i) {
219 if (ui.lwMovies->item(i)->checkState() == Qt::Checked) {
220 ui.pbGet->setEnabled(true);
221 return;
222 }
223 }
224
225 ui.pbGet->setEnabled(false);
226}
227
228void frmScan::accept() {
229 selectedFiles.clear();

Callers

nothing calls this directly

Calls 1

setEnabledMethod · 0.80

Tested by

no test coverage detected