Changeset View
Changeset View
Standalone View
Standalone View
lib/thumbnailprovider/thumbnailgenerator.cpp
Context not available. | |||||
119 | // If the user does not care about the generated thumbnails (by deleting them on exit), use ANY | 119 | // If the user does not care about the generated thumbnails (by deleting them on exit), use ANY | ||
---|---|---|---|---|---|
120 | // embedded thumnail, even if it's too small. | 120 | // embedded thumnail, even if it's too small. | ||
121 | if (!thumbnail.isNull() && | 121 | if (!thumbnail.isNull() && | ||
122 | (GwenviewConfig::deleteThumbnailCacheOnExit() || qMax(thumbnail.width(), thumbnail.height()) >= pixelSize) | 122 | (GwenviewConfig::lowResourceUsageMode() || qMax(thumbnail.width(), thumbnail.height()) >= pixelSize) | ||
123 | ) { | 123 | ) { | ||
124 | mImage = std::move(thumbnail); | 124 | mImage = std::move(thumbnail); | ||
125 | mOriginalWidth = content.size().width(); | 125 | mOriginalWidth = content.size().width(); | ||
Context not available. |