MCPcopy Create free account
hub / github.com/IENT/YUView / on_pushButtonLibde265SelectFile_clicked

Method on_pushButtonLibde265SelectFile_clicked

YUViewLib/src/ui/SettingsDialog.cpp:269–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267}
268
269void SettingsDialog::on_pushButtonLibde265SelectFile_clicked()
270{
271 QStringList newFiles = this->getLibraryPath(ui.lineEditLibde265File->text(),
272 "Please select the libde265 library file to use.");
273 if (newFiles.count() != 1)
274 return;
275 QString error;
276 if (!decoder::decoderLibde265::checkLibraryFile(newFiles[0], error))
277 QMessageBox::critical(
278 this,
279 "Error testing the library",
280 "The selected file does not appear to be a usable libde265 library. Error: " + error);
281 else
282 ui.lineEditLibde265File->setText(newFiles[0]);
283}
284
285void SettingsDialog::on_pushButtonlibHMSelectFile_clicked()
286{

Callers

nothing calls this directly

Calls 3

getLibraryPathMethod · 0.95
textMethod · 0.80
setTextMethod · 0.80

Tested by

no test coverage detected