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

Method launchExtTestCaseModifier

src/summarytree.cpp:323–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321}
322
323void SummaryTree::launchExtTestCaseModifier() {
324 QTreeWidgetItem *curItem = currentItem();
325
326 if (indexOfTopLevelItem(curItem) == -1) {
327 curItem = curItem->parent();
328 }
329
330 int index = indexOfTopLevelItem(curItem);
331 Task *curTask = curContest->getTask(index);
332
333 auto *dialog = new ExtTestCaseModifierDialog;
334
335 dialog->init(curTask, settings);
336
337 if (dialog->exec() == QDialog::Accepted) {
338 dialog->getEditTask()->copyTo(curTask);
339 }
340
341 setContest(curContest);
342}

Callers

nothing calls this directly

Calls 4

getTaskMethod · 0.80
copyToMethod · 0.80
getEditTaskMethod · 0.80
initMethod · 0.45

Tested by

no test coverage detected