| 332 | } |
| 333 | |
| 334 | void AddCompilerWizard::selectGppPath() { |
| 335 | #ifdef Q_OS_WIN32 |
| 336 | QString location = QFileDialog::getOpenFileName(this, tr("Select Compiler\'s Location"), QDir::rootPath(), |
| 337 | "g++ (g++.exe)"); |
| 338 | #else |
| 339 | QString location = |
| 340 | QFileDialog::getOpenFileName(this, tr("Select Compiler\'s Location"), QDir::rootPath(), "g++ (g++)"); |
| 341 | #endif |
| 342 | |
| 343 | if (! location.isEmpty()) { |
| 344 | location = location.replace('/', QDir::separator()); |
| 345 | ui->gppPath->setText(location); |
| 346 | } |
| 347 | } |
| 348 | |
| 349 | void AddCompilerWizard::selectFpcPath() { |
| 350 | #ifdef Q_OS_WIN32 |
nothing calls this directly
no outgoing calls
no test coverage detected