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

Method selectJavacPath

src/addcompilerwizard.cpp:379–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377}
378
379void AddCompilerWizard::selectJavacPath() {
380#ifdef Q_OS_WIN32
381 QString location = QFileDialog::getOpenFileName(this, tr("Select Compiler\'s Location"), QDir::rootPath(),
382 "javac (javac.exe)");
383#else
384 QString location = QFileDialog::getOpenFileName(this, tr("Select Compiler\'s Location"), QDir::rootPath(),
385 "javac (javac)");
386#endif
387
388 if (! location.isEmpty()) {
389 location = location.replace('/', QDir::separator());
390 ui->javacPath->setText(location);
391 }
392}
393
394void AddCompilerWizard::selectJavaPath() {
395#ifdef Q_OS_WIN32

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected