Remove unnecessary update()
ClosedPublic

Authored by huoni on Apr 9 2018, 3:45 AM.

Details

Summary

This update(), added in D11796, is no longer necessary since D11795
switched to using QGraphicsOpacityEffect instead of setOpacity.

Test Plan

Open a raster and SVG image in View compare mode.
Zoom both images in and out, and ensure no artifacts like parts of the
selection rect are left over.

Diff Detail

Repository
R260 Gwenview
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
huoni requested review of this revision.Apr 9 2018, 3:45 AM
huoni created this revision.

Seems to be really unnecessary. ;)
I can't spot anything unusual, no matter what Animations option is set.

rkflx accepted this revision.Apr 9 2018, 11:41 PM

LGTM. I guess this got somehow lost in the discussion in D11942.

This revision is now accepted and ready to land.Apr 9 2018, 11:41 PM
This revision was automatically updated to reflect the committed changes.