We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f507067 + 17121ec commit 6749082Copy full SHA for 6749082
src/qt/notificator.cpp
@@ -113,7 +113,7 @@ FreedesktopImage::FreedesktopImage(const QImage &img):
113
{
114
// Convert 00xAARRGGBB to RGBA bytewise (endian-independent) format
115
QImage tmp = img.convertToFormat(QImage::Format_ARGB32);
116
- const uint32_t *data = reinterpret_cast<const uint32_t*>(tmp.constBits());
+ const uint32_t *data = reinterpret_cast<const uint32_t*>(tmp.bits());
117
118
unsigned int num_pixels = width * height;
119
image.resize(num_pixels * BYTES_PER_PIXEL);
0 commit comments