summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qstandardpaths_unix.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2019-07-25 14:00:04 +0300
committerMarc Mutz <marc.mutz@kdab.com>2019-07-29 21:05:39 +0300
commit1fcd8345ac5fcc47883c082fa1d39110e4b2cb55 (patch)
tree3090615f9c7b3b31f8182cc4711cfe6f4d8acd8e /src/corelib/io/qstandardpaths_unix.cpp
parent889b1c4b28644c6112924cde751f4df38f697027 (diff)
QPNGImageWriter: fix compilation with libpng 1.4
Amends 83de6d0ce5baceb7739b89254cba4acc6fdab47d. The interface of png_set_iCCP() changed source-incompatibly from 1.4 to 1.5. #ifdef on the version as is done elsewhere in the code. Drop a no-op C cast. Also add PNG_iCCP_SUPPORTED around the new code, as that check is used elsewhere in the code. Change-Id: Ie203bd9eebea5697f426fa3e95591f86346b2685 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/corelib/io/qstandardpaths_unix.cpp')
0 files changed, 0 insertions, 0 deletions