summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-06-26 17:31:21 -0500
committerTimothy Pearson <[email protected]>2012-06-26 17:31:21 -0500
commit18ecd51264727c75ab3e17a762d8f95361023f0a (patch)
tree1065d1776c52c8baa7d80c774709e4bcd6329e38
parentd1cfcb5937e1494f77b4d01ece5dc5e37a4b57c2 (diff)
downloaddigikam-18ecd51264727c75ab3e17a762d8f95361023f0a.tar.gz
digikam-18ecd51264727c75ab3e17a762d8f95361023f0a.zip
Fix FTBFS on png >= 0.15
-rw-r--r--digikam/kioslave/digikamthumbnail.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/digikam/kioslave/digikamthumbnail.cpp b/digikam/kioslave/digikamthumbnail.cpp
index 6dba518f..97acf123 100644
--- a/digikam/kioslave/digikamthumbnail.cpp
+++ b/digikam/kioslave/digikamthumbnail.cpp
@@ -413,16 +413,16 @@ TQImage kio_digikamthumbnailProtocol::loadPNG(const TQString& path)
if (color_type == PNG_COLOR_TYPE_PALETTE)
png_set_expand(png_ptr);
- if (info_ptr->color_type == PNG_COLOR_TYPE_RGB_ALPHA)
+ if (color_type == PNG_COLOR_TYPE_RGB_ALPHA)
has_alpha = 1;
- if (info_ptr->color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
+ if (color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
{
has_alpha = 1;
has_grey = 1;
}
- if (info_ptr->color_type == PNG_COLOR_TYPE_GRAY)
+ if (color_type == PNG_COLOR_TYPE_GRAY)
has_grey = 1;
unsigned char **lines;