Remove redundant QImage::loadFromData()

Authored by tommo on May 24 2019, 3:45 PM.

Description

Remove redundant QImage::loadFromData()

Summary: The only purpose of this call is to check whether an embedded preview image of a RAW file is smaller than an (arbitrarily chosen) threshold. If this were true, it would be pointless to ask for an image that is only half as big as the one already retrieved.

Reviewers: Gwenview, ngraham

Reviewed By: Gwenview, ngraham

Subscribers: ngraham, Gwenview

Tags: Gwenview

Differential Revision: https://phabricator.kde.org/D21285

Details

Committed
ngrahamMay 24 2019, 3:47 PM
Reviewer
Gwenview
Differential Revision
D21285: Remove redundant QImage::loadFromData()
Parents
R260:f5b3f0d91c04: Do not re-use previously generated thumbnails in case of error
Branches
Unknown
Tags
Unknown