[Kst] extragear/graphics/kst/src/libkstapp
Andrew Walker
arwalker at sumusltd.com
Thu Jul 6 01:57:29 CEST 2006
SVN commit 558770 by arwalker:
BUG:129595 Correctly handle transparency of images with alpha buffers
M +5 -1 kstviewpicture.cpp
--- trunk/extragear/graphics/kst/src/libkstapp/kstviewpicture.cpp #558769:558770
@@ -272,7 +272,11 @@
bool KstViewPicture::transparent() const {
- return _iCache.hasAlphaBuffer();
+ if (!_iCache.isNull()) {
+ return _iCache.hasAlphaBuffer();
+ }
+
+ return _image.hasAlphaBuffer();
}
More information about the Kst
mailing list