| 317 | } |
| 318 | |
| 319 | void AddCompilerWizard::selectGccPath() { |
| 320 | #ifdef Q_OS_WIN32 |
| 321 | QString location = QFileDialog::getOpenFileName(this, tr("Select Compiler\'s Location"), QDir::rootPath(), |
| 322 | "gcc (gcc.exe)"); |
| 323 | #else |
| 324 | QString location = |
| 325 | QFileDialog::getOpenFileName(this, tr("Select Compiler\'s Location"), QDir::rootPath(), "gcc (gcc)"); |
| 326 | #endif |
| 327 | |
| 328 | if (! location.isEmpty()) { |
| 329 | location = location.replace('/', QDir::separator()); |
| 330 | ui->gccPath->setText(location); |
| 331 | } |
| 332 | } |
| 333 | |
| 334 | void AddCompilerWizard::selectGppPath() { |
| 335 | #ifdef Q_OS_WIN32 |
nothing calls this directly
no outgoing calls
no test coverage detected