| 377 | } |
| 378 | |
| 379 | void 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 | |
| 394 | void AddCompilerWizard::selectJavaPath() { |
| 395 | #ifdef Q_OS_WIN32 |
nothing calls this directly
no outgoing calls
no test coverage detected