FrameSvg: Simplify updateSizes
ClosedPublic

Authored by zzag on Jun 7 2018, 11:58 AM.

Details

Summary
if (hintXXXMargin > -1) {
    // ...
} else {
    // ...
}

are redundant because fixedXXXMargin already hold correct margin values.

Test Plan

Manually

Diff Detail

Repository
R242 Plasma Framework (Library)
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
zzag created this revision.Jun 7 2018, 11:58 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptJun 7 2018, 11:58 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
zzag requested review of this revision.Jun 7 2018, 11:58 AM
mart accepted this revision.Jun 27 2018, 11:37 AM
This revision is now accepted and ready to land.Jun 27 2018, 11:37 AM
This revision was automatically updated to reflect the committed changes.