| 302 | } |
| 303 | |
| 304 | void AddCompilerWizard::selectInterpreterLocation() { |
| 305 | #ifdef Q_OS_WIN32 |
| 306 | QString location = QFileDialog::getOpenFileName(this, tr("Select Interpreter\'s Location"), |
| 307 | QDir::rootPath(), tr("Executable files (*.exe)")); |
| 308 | #else |
| 309 | QString location = QFileDialog::getOpenFileName(this, tr("Select Interpreter\'s Location"), |
| 310 | QDir::rootPath(), tr("Executable files (*.*)")); |
| 311 | #endif |
| 312 | |
| 313 | if (! location.isEmpty()) { |
| 314 | location = location.replace('/', QDir::separator()); |
| 315 | ui->interpreterLocation->setText(location); |
| 316 | } |
| 317 | } |
| 318 | |
| 319 | void AddCompilerWizard::selectGccPath() { |
| 320 | #ifdef Q_OS_WIN32 |
nothing calls this directly
no outgoing calls
no test coverage detected