Add thumbnail quality to settings
This commit is contained in:
+3
-1
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user