MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / reject

Method reject

MiniZincIDE/moocsubmission.cpp:224–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224void MOOCSubmission::reject()
225{
226 if (_cur_phase != S_NONE &&
227 QMessageBox::warning(this, "MiniZinc IDE",
228 "Do you want to close this window and abort the "+project.moocName+" submission?",
229 QMessageBox::Close| QMessageBox::Cancel,
230 QMessageBox::Cancel) == QMessageBox::Cancel) {
231 return;
232 }
233 cancelOperation();
234 QDialog::reject();
235}
236
237void MOOCSubmission::solveNext() {
238 int n_problems = project.problems.size();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected