From: nds Date: Thu, 10 Jan 2008 10:39:52 +0000 (+0000) Subject: fix for bug: the background of toolbar is always the same as viewer's one. X-Git-Tag: TG_Saint_Valentine-Day~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=305d06e3bf2f5f7325595c5233c40d13279ac9e3;p=modules%2Fgui.git fix for bug: the background of toolbar is always the same as viewer's one. --- diff --git a/src/SVTK/SVTK_ViewWindow.cxx b/src/SVTK/SVTK_ViewWindow.cxx index 454df63ec..9dee3827d 100755 --- a/src/SVTK/SVTK_ViewWindow.cxx +++ b/src/SVTK/SVTK_ViewWindow.cxx @@ -470,10 +470,6 @@ SVTK_ViewWindow ::setBackgroundColor( const QColor& color ) { myMainWindow->SetBackgroundColor( color ); - - QPalette palette; - palette.setColor(backgroundRole(), color); - setPalette(palette); } /*!