| 102 | } |
| 103 | |
| 104 | void Contest::deleteTask(int index) { |
| 105 | if (0 <= index && index < taskList.size()) { |
| 106 | delete taskList[index]; |
| 107 | taskList.removeAt(index); |
| 108 | } |
| 109 | |
| 110 | emit taskDeletedForContestant(index); |
| 111 | emit taskDeletedForViewer(index); |
| 112 | } |
| 113 | |
| 114 | void Contest::refreshContestantList() { |
| 115 | QStringList nameList = |
nothing calls this directly
no outgoing calls
no test coverage detected