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

Method selectJavaPath

src/addcompilerwizard.cpp:394–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392}
393
394void AddCompilerWizard::selectJavaPath() {
395#ifdef Q_OS_WIN32
396 QString location = QFileDialog::getOpenFileName(this, tr("Select Interpreter\'s Location"),
397 QDir::rootPath(), "java (java.exe)");
398#else
399 QString location = QFileDialog::getOpenFileName(this, tr("Select Interpreter\'s Location"),
400 QDir::rootPath(), "java (java)");
401#endif
402
403 if (! location.isEmpty()) {
404 location = location.replace('/', QDir::separator());
405 ui->javaPath->setText(location);
406 }
407}
408
409void AddCompilerWizard::selectPythonPath() {
410#ifdef Q_OS_WIN32

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected