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

Method deleteCompiler

src/compilersettings.cpp:157–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157void CompilerSettings::deleteCompiler() {
158 if (QMessageBox::question(this, tr("LemonLime"),
159 tr("Are you sure to delete compiler %1?").arg(curCompiler->getCompilerName()),
160 QMessageBox::Ok | QMessageBox::Cancel) == QMessageBox::Cancel) {
161 return;
162 }
163
164 int index = ui->compilerList->currentRow();
165 delete ui->compilerList->item(index);
166 editSettings->deleteCompiler(index);
167 refreshItemState();
168}
169
170void CompilerSettings::setCurrentCompiler(Compiler *compiler) {
171 curCompiler = compiler;

Callers

nothing calls this directly

Calls 1

getCompilerNameMethod · 0.80

Tested by

no test coverage detected