Deduplicate some conditional branches in RasterImageView

Authored by rkflx on Aug 7 2018, 10:13 PM.

Description

Deduplicate some conditional branches in RasterImageView

When adding Fit to Width, 3e10699ac37c blindly copied a bunch of
code, for example without properly merging if conditions.

ba63c8a44f46 already corrected some of that, let's fix the rest here.

Details

Committed
rkflxAug 7 2018, 10:13 PM
Parents
R260:a00eecc78507: Make dependency on KActivities optional
Branches
Unknown
Tags
Unknown