Slightly improved code style for long equality expressions.
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user