From 9aa83736398d57f668958520eda68291f77d198d Mon Sep 17 00:00:00 2001 From: nds Date: Tue, 30 Oct 2007 05:19:48 +0000 Subject: [PATCH] Improve for ToolBox style. --- src/Style/Style_Salome.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; } } -- 2.39.2