MCPcopy Create free account
hub / github.com/Project-LemonLime/Project_LemonLime / deleteTask

Method deleteTask

src/core/contest.cpp:104–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104void 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
114void Contest::refreshContestantList() {
115 QStringList nameList =

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected