| 222 | } |
| 223 | |
| 224 | void 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 | |
| 237 | void MOOCSubmission::solveNext() { |
| 238 | int n_problems = project.problems.size(); |
nothing calls this directly
no outgoing calls
no test coverage detected