Commits

Anonymous committed 3ace134

Fixing for all KDE4 versions

Comments (0)

Files changed (1)

 
 void
 ImageData::image2pixmap(QImage img, QPixmap& xpm, bool diffuse) {
-  xpm.convertFromImage(img,
+  xpm = QPixmap::fromImage(img,
 		       (diffuse ?
 			(Qt::DiffuseDither|Qt::DiffuseAlphaDither) :
 			(Qt::OrderedDither|Qt::OrderedAlphaDither))|