]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Improve for ToolBox style.
authornds <nds@opencascade.com>
Tue, 30 Oct 2007 05:19:48 +0000 (05:19 +0000)
committernds <nds@opencascade.com>
Tue, 30 Oct 2007 05:19:48 +0000 (05:19 +0000)
src/Style/Style_Salome.cxx

index 88a893a73f6945f44afb9898a0828276d165a522..1a57b086acdee9054587e5f80448ee0d996c0abf 100644 (file)
@@ -1158,6 +1158,9 @@ void Style_Salome::drawControl( ControlElement ce, const QStyleOption* opt,
           }
         }
       break;
+    case CE_ToolBoxTab:
+      QCommonStyle::drawControl( ce, opt, p, w );
+      break;
     case CE_HeaderSection: {
       bool aStateOn = opt->state & State_On;
       QColor aColor = getColor( Style_Model::header_clr );
@@ -1291,7 +1294,8 @@ void Style_Salome::drawControl( ControlElement ce, const QStyleOption* opt,
     break;
   }
   default:
-      QWindowsStyle::drawControl( ce, opt, p, w );
+    QWindowsStyle::drawControl( ce, opt, p, w );
+    break;
   }
 }