]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
fix for bug: the background of toolbar is always the same as viewer's one
authorasl <asl@opencascade.com>
Thu, 10 Jan 2008 10:20:06 +0000 (10:20 +0000)
committerasl <asl@opencascade.com>
Thu, 10 Jan 2008 10:20:06 +0000 (10:20 +0000)
src/SVTK/SVTK_ViewWindow.cxx

index 454df63eceb45e22504ee45c337fac27902479e2..9dee3827dddcc2cf7971f1d2e5805f9fa92f4807 100755 (executable)
@@ -470,10 +470,6 @@ SVTK_ViewWindow
 ::setBackgroundColor( const QColor& color )
 {
   myMainWindow->SetBackgroundColor( color );
-
-  QPalette palette;
-  palette.setColor(backgroundRole(), color);
-  setPalette(palette);
 }
 
 /*!