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

List:       kde-commits
Subject:    KDE/kdelibs/kstyles/plastik
From:       Sandro Giessl <sandro () giessl ! com>
Date:       2005-09-02 17:26:10
Message-ID: 1125681970.720466.30499.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 456362 by giessl:

port changes 456347 and 456359 from 3.5 branch to trunk, fixing two scrollbar bugs

 M  +3 -3      plastik.cpp  


--- trunk/KDE/kdelibs/kstyles/plastik/plastik.cpp #456361:456362
@@ -776,9 +776,9 @@
                     // draw double buffered to avoid flickr...
                     QPixmap buffer;
                     if(hor) {
-                        buffer.resize(2, r.width() );
+                        buffer.resize(2, r.height() );
                     } else {
-                        buffer.resize(r.height(), 2 );
+                        buffer.resize(r.width(), 2 );
                     }
                     QRect br(buffer.rect() );
                     QPainter bp(&buffer);
@@ -805,7 +805,7 @@
 
                     bp.end();
 
-                    p->drawTiledPixmap(r, buffer);
+                    p->drawTiledPixmap(r, buffer, QPoint(0, r.top()%2);
 
                     return;
                 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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