diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-09-05 10:44:56 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-09-05 11:40:30 +0200 |
commit | 44000c87d352e4f88b7eea3d441a807b755698d3 (patch) | |
tree | 884c5e36606e8ee2ea9bcd77f103f45ea310859f /src | |
parent | ddfa5b985141c5bcc0ad4da25cae565a5cbebf74 (diff) |
Fix build after QColorSpace API changes
Change-Id: Iff3186cf4eccae5fc7e7e3c55c5e6eb662be9519
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/imageformats/webp/qwebphandler.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/imageformats/webp/qwebphandler.cpp b/src/plugins/imageformats/webp/qwebphandler.cpp index 3916996..f0b8caf 100644 --- a/src/plugins/imageformats/webp/qwebphandler.cpp +++ b/src/plugins/imageformats/webp/qwebphandler.cpp @@ -171,8 +171,6 @@ bool QWebpHandler::read(QImage *image) m_colorSpace = QColorSpace::fromIccProfile(iccProfile); // ### consider parsing EXIF and/or XMP metadata too. WebPDemuxReleaseChunkIterator(&metaDataIter); - } else { - m_colorSpace = QColorSpace::Undefined; } // Go to first frame |