From: nds Date: Tue, 30 Oct 2007 05:19:48 +0000 (+0000) Subject: Improve for ToolBox style. X-Git-Tag: TG_Saint_Valentine-Day~22 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9aa83736398d57f668958520eda68291f77d198d;p=modules%2Fgui.git Improve for ToolBox style. --- diff --git a/src/Style/Style_Salome.cxx b/src/Style/Style_Salome.cxx index 88a893a73..1a57b086a 100644 --- a/src/Style/Style_Salome.cxx +++ b/src/Style/Style_Salome.cxx @@ -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; } }