diff options
-rw-r--r-- | vcl/unx/kde4/KDESalFrame.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/vcl/unx/kde4/KDESalFrame.cxx b/vcl/unx/kde4/KDESalFrame.cxx index 6f3fe53e1441..6039daa6bd22 100644 --- a/vcl/unx/kde4/KDESalFrame.cxx +++ b/vcl/unx/kde4/KDESalFrame.cxx @@ -298,11 +298,8 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings ) QPalette qMenuCG = pMenuBar->palette(); // Menu text and background color, theme specific - Color aMenuFore = toColor( qMenuCG.color( QPalette::WindowText ) ); - Color aMenuBack = toColor( qMenuCG.color( QPalette::Window ) ); - - aMenuFore = toColor( qMenuCG.color( QPalette::ButtonText ) ); - aMenuBack = toColor( qMenuCG.color( QPalette::Button ) ); + Color aMenuFore = toColor( qMenuCG.color( QPalette::ButtonText ) ); + Color aMenuBack = toColor( qMenuCG.color( QPalette::Button ) ); style.SetMenuTextColor( aMenuFore ); style.SetMenuBarTextColor( aMenuFore ); |