Remove debug code.
This commit is contained in:
parent
a228c62286
commit
a2db9de4d7
|
@ -329,10 +329,6 @@ void UpdateImageDetails(PreparedFile &file, int previewWidth) {
|
|||
: image->data;
|
||||
Assert(!preview.isNull());
|
||||
file.shownDimensions = PrepareShownDimensions(preview);
|
||||
const auto scaledWidth = style::ConvertScale(preview.width());
|
||||
constexpr auto kIntMin = std::numeric_limits<int>::min();
|
||||
static_assert(kIntMin == -2147483648);
|
||||
scaledWidth;
|
||||
const auto toWidth = std::min(
|
||||
previewWidth,
|
||||
style::ConvertScale(preview.width())
|
||||
|
|
Loading…
Reference in New Issue