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

List:       kde-commits
Subject:    kdeartwork/styles/plastik
From:       Sandro Giessl <sandro () giessl ! com>
Date:       2004-09-13 20:09:26
Message-ID: 20040913200926.A7AD8E76 () office ! kde ! org
[Download RAW message or body]

CVS commit by giessl: 

Don't draw Panel with QButtonGroup::setLineWidth(0)

CCMAIL: 89342-done@bugs.kde.org


  M +5 -1      plastik.cpp   1.92


--- kdeartwork/styles/plastik/plastik.cpp  #1.91:1.92
@@ -1855,4 +1855,6 @@ void PlastikStyle::drawPrimitive(Primiti
         case PE_PanelGroupBox:
         case PE_GroupBoxFrame: {
+            if ( opt.isDefault() || opt.lineWidth() <= 0 )
+                break;
                 renderPanel(p, r, cg, false);
 
@@ -1862,4 +1864,6 @@ void PlastikStyle::drawPrimitive(Primiti
         case PE_WindowFrame:
         case PE_Panel: {
+            if ( opt.isDefault() || opt.lineWidth() <= 0 )
+                break;
             renderPanel(p, r, cg, true, sunken);
             break;


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

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