dont hash if FreedesktopImageHint is created from a Image

This commit is contained in:
Patrick von Reth 2010-10-31 14:00:14 +01:00
parent 3b314daa6d
commit 0761bb86db
1 changed files with 0 additions and 2 deletions

View File

@ -83,8 +83,6 @@ FreedesktopImageHint::FreedesktopImageHint(const QImage &img)
FreedesktopNotification::registerTypes();
QImage image(img.convertToFormat(QImage::Format_ARGB32));
this->imageData.append((char*)image.rgbSwapped().bits(),image.numBytes());
if(hasedImages.contains(computeHash()))
return;
width=image.width();
height=image.height();
rowstride=image.bytesPerLine();