Add thumbnail quality to settings

This commit is contained in:
2024-02-01 23:03:21 +01:00
parent d5f2351905
commit 0cee4c9c53
6 changed files with 15 additions and 2 deletions
+3 -1
View File
@@ -489,7 +489,9 @@ void LoadRunable::run()
{
if(rawImage && rawImage->valid())
{
rawImage->resize(THUMB_SIZE, THUMB_SIZE);
if(QUALITY_RESIZE)
rawImage->resize(THUMB_SIZE, THUMB_SIZE);
rawImage->convertToThumbnail();
}
QMetaObject::invokeMethod(m_receiver, "thumbnailLoadFinish", Qt::QueuedConnection, Q_ARG(std::shared_ptr<RawImage>, rawImage));