Skip to content

Commit

Permalink
Freedesktop Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tranz5 committed May 19, 2014
1 parent 85d6529 commit a683c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt/notificator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ FreedesktopImage::FreedesktopImage(const QImage &img):
{
// Convert 00xAARRGGBB to RGBA bytewise (endian-independent) format
QImage tmp = img.convertToFormat(QImage::Format_ARGB32);
const uint32_t *data = reinterpret_cast<const uint32_t*>(tmp.constBits());
const uint32_t *data = reinterpret_cast<const uint32_t*>(tmp.bits());

unsigned int num_pixels = width * height;
image.resize(num_pixels * BYTES_PER_PIXEL);
Expand Down

0 comments on commit a683c5b

Please sign in to comment.