Commits

kantacki  committed 3ace134

Fixing for all KDE4 versions

  • Participants
  • Parent commits 2fe57f4

Comments (0)

Files changed (1)

File ImageData.cpp

 
 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))|