Remove debug code.

This commit is contained in:
John Preston 2021-09-28 11:30:18 +04:00
parent a228c62286
commit a2db9de4d7
1 changed files with 0 additions and 4 deletions

View File

@ -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())