| 287 | } |
| 288 | |
| 289 | void AddCompilerWizard::selectCompilerLocation() { |
| 290 | #ifdef Q_OS_WIN32 |
| 291 | QString location = QFileDialog::getOpenFileName(this, tr("Select Compiler\'s Location"), QDir::rootPath(), |
| 292 | tr("Executable files (*.exe)")); |
| 293 | #else |
| 294 | QString location = QFileDialog::getOpenFileName(this, tr("Select Compiler\'s Location"), QDir::rootPath(), |
| 295 | tr("Executable files (*.*)")); |
| 296 | #endif |
| 297 | |
| 298 | if (! location.isEmpty()) { |
| 299 | location = location.replace('/', QDir::separator()); |
| 300 | ui->compilerLocation->setText(location); |
| 301 | } |
| 302 | } |
| 303 | |
| 304 | void AddCompilerWizard::selectInterpreterLocation() { |
| 305 | #ifdef Q_OS_WIN32 |
nothing calls this directly
no outgoing calls
no test coverage detected