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

Method selectCompilerLocation

src/addcompilerwizard.cpp:289–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289void AddCompilerWizard::selectCompilerLocation() {
290#ifdef Q_OS_WIN32
291 QString location = QFileDialog::getOpenFileName(this, tr("Select Compiler\'s Location"), QDir::rootPath(),
292 tr("Executable files (*.exe)"));
293#else
294 QString location = QFileDialog::getOpenFileName(this, tr("Select Compiler\'s Location"), QDir::rootPath(),
295 tr("Executable files (*.*)"));
296#endif
297
298 if (! location.isEmpty()) {
299 location = location.replace('/', QDir::separator());
300 ui->compilerLocation->setText(location);
301 }
302}
303
304void AddCompilerWizard::selectInterpreterLocation() {
305#ifdef Q_OS_WIN32

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected