summaryrefslogtreecommitdiffstats
path: root/src/opengl/qpixmapdata_gl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/qpixmapdata_gl.cpp')
-rw-r--r--src/opengl/qpixmapdata_gl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qpixmapdata_gl.cpp b/src/opengl/qpixmapdata_gl.cpp
index 4c53c46..48feb82 100644
--- a/src/opengl/qpixmapdata_gl.cpp
+++ b/src/opengl/qpixmapdata_gl.cpp
@@ -262,7 +262,7 @@ void QGLPixmapData::fill(const QColor &color)
bool QGLPixmapData::hasAlphaChannel() const
{
- return pixelType() == BitmapType || m_hasAlpha;
+ return m_hasAlpha;
}
QImage QGLPixmapData::fillImage(const QColor &color) const