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

List:       kde-commits
Subject:    KDE/kdebase/runtime/kstyles/oxygen
From:       Carlo Segato <brandon.ml () gmail ! com>
Date:       2009-12-01 0:29:29
Message-ID: 1259627369.368665.22063.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1056845 by segato:

don't use rounded corners with QDockWidget on Windows because the window is not \
borderless

 M  +4 -0      oxygen.cpp  


--- trunk/KDE/kdebase/runtime/kstyles/oxygen/oxygen.cpp #1056844:1056845
@@ -5620,6 +5620,7 @@
                     QRect r = dw->rect();
                     QColor color = dw->palette().window().color();
 
+#ifndef Q_WS_WIN
                     if( compositingActive() )
                     {
                         TileSet *tileSet( _helper.roundCorner(color) );
@@ -5628,10 +5629,13 @@
                         // set clip region
                         p.setClipRegion( _helper.roundedRegion( r.adjusted( 1, 1, \
-1, -1 ) ), Qt::IntersectClip );  }
+#endif
 
                     _helper.renderWindowBackground(&p, r, dw, color);
 
+#ifndef Q_WS_WIN
                     if( compositingActive() ) p.setClipping( false );
+#endif
 
                     _helper.drawFloatFrame(&p, r, color);
 


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

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