Show 'Could not extract thumb from ...' only in verbose mode, closes #4984

This commit is contained in:
heckflosse
2018-11-13 22:22:09 +01:00
parent b0bc0c7add
commit 7a84f8211e

View File

@@ -421,7 +421,9 @@ Thumbnail* Thumbnail::loadQuickFromRaw (const Glib::ustring& fname, RawMetaDataL
// did we succeed?
if ( err ) {
printf ("Could not extract thumb from %s\n", fname.data());
if (options.rtSettings.verbose) {
std::cout << "Could not extract thumb from " << fname.c_str() << std::endl;
}
delete tpp;
delete img;
delete ri;