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

Method selectFbcPath

src/addcompilerwizard.cpp:364–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362}
363
364void AddCompilerWizard::selectFbcPath() {
365#ifdef Q_OS_WIN32
366 QString location = QFileDialog::getOpenFileName(this, tr("Select Compiler\'s Location"), QDir::rootPath(),
367 "fbc (fbc.exe)");
368#else
369 QString location =
370 QFileDialog::getOpenFileName(this, tr("Select Compiler\'s Location"), QDir::rootPath(), "fbc (fbc)");
371#endif
372
373 if (! location.isEmpty()) {
374 location = location.replace('/', QDir::separator());
375 ui->fbcPath->setText(location);
376 }
377}
378
379void AddCompilerWizard::selectJavacPath() {
380#ifdef Q_OS_WIN32

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected