From: ana Date: Fri, 12 Aug 2011 07:44:04 +0000 (+0000) Subject: Fix for the bug IPAL20913: TC5.1.1: the same color for active/inactive window text... X-Git-Tag: OpenCV_demo1~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=123f5e0ab934d0b66e6bf605560f4991b680fca0;p=modules%2Fgui.git Fix for the bug IPAL20913: TC5.1.1: the same color for active/inactive window text in default style preferences of Theme --- diff --git a/src/Style/Style_Model.cxx b/src/Style/Style_Model.cxx index 06b9e131b..61adc7c6d 100644 --- a/src/Style/Style_Model.cxx +++ b/src/Style/Style_Model.cxx @@ -515,6 +515,7 @@ void Style_Model::setColor( Style_Model::ColorRole role, const QColor& active, switch ( role ) { case WindowText: case Text: + case ButtonText: dc = color( Button ).darker(); break; case Base: