diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2014-03-28 08:06:19 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2014-03-28 08:16:09 +0100 |
commit | 5e7aad393c0c3fab20c8298697ca96563caa7afe (patch) | |
tree | 30696eb8d5680e24d60d306593d592bc5c94e7cd | |
parent | a85145a359f5f21b2d57d822b2785a85c6566856 (diff) |
menu(bar) uses window text and background color, not button (fdo#50921)
Change-Id: I13adebd09746d21e7456927e14dcdc3efb2c723b
-rw-r--r-- | vcl/unx/kde4/KDESalFrame.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/kde4/KDESalFrame.cxx b/vcl/unx/kde4/KDESalFrame.cxx index 9e3fb85d00a2..8afc217d969e 100644 --- a/vcl/unx/kde4/KDESalFrame.cxx +++ b/vcl/unx/kde4/KDESalFrame.cxx @@ -295,8 +295,8 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings ) QPalette qMenuCG = pMenuBar->palette(); // Menu text and background color, theme specific - Color aMenuFore = toColor( qMenuCG.color( QPalette::ButtonText ) ); - Color aMenuBack = toColor( qMenuCG.color( QPalette::Button ) ); + Color aMenuFore = toColor( qMenuCG.color( QPalette::WindowText ) ); + Color aMenuBack = toColor( qMenuCG.color( QPalette::Window ) ); style.SetMenuTextColor( aMenuFore ); style.SetMenuBarTextColor( aMenuFore ); |