| 347 | } |
| 348 | |
| 349 | void AddCompilerWizard::selectFpcPath() { |
| 350 | #ifdef Q_OS_WIN32 |
| 351 | QString location = QFileDialog::getOpenFileName(this, tr("Select Compiler\'s Location"), QDir::rootPath(), |
| 352 | "fpc (fpc.exe)"); |
| 353 | #else |
| 354 | QString location = |
| 355 | QFileDialog::getOpenFileName(this, tr("Select Compiler\'s Location"), QDir::rootPath(), "fpc (fpc)"); |
| 356 | #endif |
| 357 | |
| 358 | if (! location.isEmpty()) { |
| 359 | location = location.replace('/', QDir::separator()); |
| 360 | ui->fpcPath->setText(location); |
| 361 | } |
| 362 | } |
| 363 | |
| 364 | void AddCompilerWizard::selectFbcPath() { |
| 365 | #ifdef Q_OS_WIN32 |
nothing calls this directly
no outgoing calls
no test coverage detected