Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2
libqt4
fix_qrasterpixmapdata_bnc847880.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_qrasterpixmapdata_bnc847880.diff of Package libqt4
Index: qt-everywhere-opensource-src-4.8.6/src/gui/image/qpixmap_raster.cpp =================================================================== --- qt-everywhere-opensource-src-4.8.6.orig/src/gui/image/qpixmap_raster.cpp +++ qt-everywhere-opensource-src-4.8.6/src/gui/image/qpixmap_raster.cpp @@ -330,7 +330,7 @@ QImage QRasterPixmapData::toImage(const return image; QRect clipped = rect.intersected(QRect(0, 0, w, h)); - const uint du = uint(d); + const uint du = uint(image.depth()); if ((du % 8 == 0) && (((uint(clipped.x()) * du)) % 32 == 0)) return QImage(image.scanLine(clipped.y()) + clipped.x() * (du / 8), clipped.width(), clipped.height(),
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor