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

Method accept

gui/src/forms/frmlistsubtitles.cpp:86–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void frmListSubtitles::accept() {
87 if (ui.twSubtitles->selectedItems().size() == 0) {
88 QMessageBox::warning(this, tr("No subtitle selected"),
89 tr("You need to select a subtitle from the list!"));
90 } else {
91 QDialog::accept();
92 }
93}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected