From 305d06e3bf2f5f7325595c5233c40d13279ac9e3 Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 10 Jan 2008 10:39:52 +0000 Subject: [PATCH] fix for bug: the background of toolbar is always the same as viewer's one. --- src/SVTK/SVTK_ViewWindow.cxx | 4 ---- 1 file changed, 4 deletions(-) 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); } /*! -- 2.39.2