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

List:       kde-commits
Subject:    =?utf-8?q?=5Bkdelibs=5D_khtml/rendering=3A_Respect_print_images_?=
From:       Allan Sandfeld Jensen <kde () carewolf ! com>
Date:       2011-03-24 20:20:47
Message-ID: 20110324202047.10123A60A6 () git ! kde ! org
[Download RAW message or body]

Git commit 0c5fb9b895f77f3c7347afd141839fac579540f6 by Allan Sandfeld Jensen.
Committed on 24/03/2011 at 21:02.
Pushed by carewolf into branch 'master'.

Respect print images setting for background images

M  +1    -1    khtml/rendering/render_box.cpp     

http://commits.kde.org/kdelibs/0c5fb9b895f77f3c7347afd141839fac579540f6

diff --git a/khtml/rendering/render_box.cpp b/khtml/rendering/render_box.cpp
index bef1f09..fedd87f 100644
--- a/khtml/rendering/render_box.cpp
+++ b/khtml/rendering/render_box.cpp
@@ -555,7 +555,7 @@ void RenderBox::paintBackgroundExtended(QPainter *p, const QColor \
&c, const Back  }
 
     CachedImage* bg = bgLayer->backgroundImage();
-    bool shouldPaintBackgroundImage = bg && bg->isComplete() && !bg->isTransparent() \
&& !bg->isErrorImage(); +    bool shouldPaintBackgroundImage = bg && bg->isComplete() \
&& !bg->isTransparent() && !bg->isErrorImage() && canvas()->printImages();  QColor \
bgColor = c;  
     // the "bottom" of the page can't be transparent


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

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