| 392 | } |
| 393 | |
| 394 | void 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 | |
| 409 | void AddCompilerWizard::selectPythonPath() { |
| 410 | #ifdef Q_OS_WIN32 |
nothing calls this directly
no outgoing calls
no test coverage detected