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

List:       kde-commits
Subject:    branches/KDE/4.0/kdelibs/khtml/rendering
From:       Roman Jarosz <kedgedev () centrum ! cz>
Date:       2008-06-05 21:31:00
Message-ID: 1212701460.725603.16523.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 817373 by rjarosz:

Backport commit 817364.

Fixes 1 pixel border around emoticons in Kopete.

CCBUG: 163267



 M  +1 -1      render_image.cpp  


--- branches/KDE/4.0/kdelibs/khtml/rendering/render_image.cpp #817372:817373
@@ -235,7 +235,7 @@
                     (hasSufficientContrast(Qt::white, bg) ? Qt::white : Qt::black);
 	paintInfo.p->setPen(QPen(fg, 1));
 	paintInfo.p->setBrush( Qt::NoBrush );
-	paintInfo.p->drawRect(_tx, _ty, m_width, m_height);
+	paintInfo.p->drawRect(_tx, _ty, m_width - 1, m_height - 1);
         if (!(m_width <= 5 || m_height <= 5)) {
             if (!loadingIcon) {
                 loadingIcon = new QPixmap();
[prev in list] [next in list] [prev in thread] [next in thread] 

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