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

List:       kde-commits
Subject:    branches/work/coolos_kdm/kfrontend/themer
From:       Stephan Kulow <coolo () kde ! org>
Date:       2005-06-13 11:55:41
Message-ID: 1118663741.911395.1356.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 424895 by coolo:

fix placing


 M  +3 -2      kdmitem.cpp  


--- branches/work/coolos_kdm/kfrontend/themer/kdmitem.cpp #424894:424895
@@ -268,8 +268,9 @@
 	if (myWidget || (myLayoutItem && myLayoutItem->widget())) {
             // KListView because it's missing a Q_OBJECT
             if ( myWidget && myWidget->isA( "KListView" ) ) {
-                QPixmap copy( area.size() );
-                bitBlt( &copy, QPoint( 0, 0 ), p->device(), area, Qt::CopyROP );
+                QPixmap copy( myWidget->size() );
+                kdDebug() <<  myWidget->geometry() << " " << area << " " << myWidget->size() << endl;
+                bitBlt( &copy, QPoint( 0, 0), p->device(), myWidget->geometry(), Qt::CopyROP );
                 myWidget->setPaletteBackgroundPixmap( copy );
             }
             return;
[prev in list] [next in list] [prev in thread] [next in thread] 

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