Issue 2456, revert to embedded thumb when profile is removed
This commit is contained in:
@@ -88,12 +88,13 @@ void FileBrowserEntry::refreshThumbnailImage () {
|
||||
}
|
||||
|
||||
void FileBrowserEntry::refreshQuickThumbnailImage () {
|
||||
// Only make a (slow) processed preview if the picture has been edited at all
|
||||
if ( thumbnail &&
|
||||
thumbnail->isQuick() && (!options.internalThumbIfUntouched || thumbnail->isPParamsValid()) )
|
||||
{
|
||||
thumbImageUpdater->add(this, &updatepriority, true, this);
|
||||
}
|
||||
|
||||
if (!thumbnail)
|
||||
return;
|
||||
|
||||
// Only make a (slow) processed preview if the picture has been edited at all
|
||||
bool upgrade_to_processed = (!options.internalThumbIfUntouched || thumbnail->isPParamsValid());
|
||||
thumbImageUpdater->add(this, &updatepriority, upgrade_to_processed, this);
|
||||
}
|
||||
|
||||
void FileBrowserEntry::calcThumbnailSize () {
|
||||
|
Reference in New Issue
Block a user