Skip to content

Instantly share code, notes, and snippets.

@timokau
Created December 29, 2018 11:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timokau/4b4ec516d975c0ebdb3f4b65e8b5dc82 to your computer and use it in GitHub Desktop.
Save timokau/4b4ec516d975c0ebdb3f4b65e8b5dc82 to your computer and use it in GitHub Desktop.
diff --git a/core/libs/threadimageio/thumb/thumbnailcreator.cpp b/core/libs/threadimageio/thumb/thumbnailcreator.cpp
index 79dfb424aa..81fa73aa8c 100644
--- a/core/libs/threadimageio/thumb/thumbnailcreator.cpp
+++ b/core/libs/threadimageio/thumb/thumbnailcreator.cpp
@@ -766,7 +766,7 @@ void ThumbnailCreator::storeInDatabase(const ThumbnailInfo& info, const Thumbnai
// by filepath of uniqueHash to find out if a thumb need to be replaced.
dbInfo.id = d->dbIdForReplacement;
d->dbIdForReplacement = -1;
- dbInfo.type = DatabaseThumbnail::PGF;
+ dbInfo.type = DatabaseThumbnail::PNG;
dbInfo.modificationDate = info.modificationDate;
dbInfo.orientationHint = image.exifOrientation;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment