| 315 | } |
| 316 | |
| 317 | void SettingsDialog::on_pushButtonLibVTMSelectFile_clicked() |
| 318 | { |
| 319 | QStringList newFiles = this->getLibraryPath( |
| 320 | ui.lineEditLibVTMFile->text(), "Please select the libVTMDecoder library file to use."); |
| 321 | if (newFiles.count() != 1) |
| 322 | return; |
| 323 | QString error; |
| 324 | if (!decoder::decoderVTM::checkLibraryFile(newFiles[0], error)) |
| 325 | QMessageBox::critical( |
| 326 | this, |
| 327 | "Error testing the library", |
| 328 | "The selected file does not appear to be a usable libVTMDecoder library. Error: " + error); |
| 329 | else |
| 330 | ui.lineEditLibVTMFile->setText(newFiles[0]); |
| 331 | } |
| 332 | |
| 333 | void SettingsDialog::on_pushButtonLibVVDecSelectFile_clicked() |
| 334 | { |
nothing calls this directly
no test coverage detected