Slightly improved code style for long equality expressions.

This commit is contained in:
23rd
2024-04-11 18:56:11 +03:00
committed by John Preston
parent a37cbd7d05
commit 1c223e570a
48 changed files with 159 additions and 160 deletions

View File

@@ -48,8 +48,8 @@ PhotoEditorContent::PhotoEditorContent(
return;
}
const auto imageSizeF = [&] {
const auto rotatedSize =
FlipSizeByRotation(size, mods.angle);
const auto rotatedSize
= FlipSizeByRotation(size, mods.angle);
const auto m = _crop->cropMargins();
const auto sizeForCrop = rotatedSize
- QSize(m.left() + m.right(), m.top() + m.bottom());