Bugfix for fitsview, checking wrong width & height in initDisplayImage
ClosedPublic

Authored by murveit on Jan 25 2020, 1:15 AM.

Details

Summary

The check was for the image width & height, but the image can be downsampled in display.
Should check the downsampled widths and heights.

Test Plan

With this bug, the stretch preview was shown 1/4 size. With the bug-fix it should be back to full size.

Diff Detail

Repository
R321 KStars
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
murveit created this revision.Jan 25 2020, 1:15 AM
Restricted Application added a project: KDE Edu. · View Herald TranscriptJan 25 2020, 1:15 AM
Restricted Application added a subscriber: kde-edu. · View Herald Transcript
murveit requested review of this revision.Jan 25 2020, 1:15 AM
mutlaqja accepted this revision.Jan 25 2020, 6:04 AM
This revision is now accepted and ready to land.Jan 25 2020, 6:04 AM
This revision was automatically updated to reflect the committed changes.