[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenox/konq-embed/kdesrc/khtml/patches
From:       Stefan Eilers <stefan.eilers () basyskom ! de>
Date:       2008-02-25 8:19:05
Message-ID: 1203927545.408193.7430.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 779000 by eilers:

Removed debug code that should not be in the patch..


 M  +1 -5      image_scaling_KDELibs_3.5.9.patch  


--- trunk/kdenox/konq-embed/kdesrc/khtml/patches/image_scaling_KDELibs_3.5.9.patch \
#778999:779000 @@ -210,7 +210,7 @@
              EBackgroundRepeat bgr = bgLayer->backgroundRepeat();
  
              int xPosition = \
                bgLayer->backgroundXPosition().minWidth(pw-scaledImageWidth);
-@@ -609,8 +617,22 @@
+@@ -609,8 +623,18 @@
  
  //         kdDebug() << " clipy, cliph: " << clipy << ", " << cliph << endl;
  //         kdDebug() << " drawTiledPixmap(" << cx << ", " << cy << ", " << cw << ", \
" << ch << ", " << sx << ", " << sy << ")" << endl; @@ -224,10 +224,6 @@
 +                } else {
 +                    // kdDebug() << "Smooth-Scale to width: " << scaledImageWidth \
<< " and height: " << scaledImageHeight << endl;  +                    resizeCache = \
                pix.convertToImage().smoothScale(scaledImageWidth, \
                scaledImageHeight);
-+                    if ( scaledImageHeight == 0 )
-+                    {
-+                        p->drawRect( cx,cy, scaledImageWidth, 12 );
-+                    }
 +                }
 +            }
 +            p->drawTiledPixmap(cx, cy, cw, ch, resizeCache, sx, sy);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic