]> 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.
authornds <nds@opencascade.com>
Thu, 10 Jan 2008 10:39:52 +0000 (10:39 +0000)
committernds <nds@opencascade.com>
Thu, 10 Jan 2008 10:39:52 +0000 (10:39 +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);
 }
 
 /*!