[Kst] branches/work/kst/portto4/kst/src/libkstmath

Adam Treat treat at kde.org
Tue Feb 20 19:53:56 CET 2007


SVN commit 635722 by treat:

* RGB32


 M  +1 -1      kstimage.cpp  


--- branches/work/kst/portto4/kst/src/libkstmath/kstimage.cpp #635721:635722
@@ -634,7 +634,7 @@
       if (image->hasColorMap()) {
         int hXlXDiff = d2i(img_Hx_pix - img_Lx_pix);
         int hYlYDiff = d2i(img_Hy_pix - img_Ly_pix - 1);
-        QImage tempImage(hXlXDiff, hYlYDiff, 32);
+        QImage tempImage(hXlXDiff, hYlYDiff, QImage::Format_RGB32);
         for (int i = 0; i < hXlXDiff; ++i) {
           for (int j = 0; j < hYlYDiff; ++j) {
             double new_x, new_y;


More information about the Kst mailing list