diff options
author | Sumit Chauhan <sumitcn25@gmail.com> | 2018-12-04 18:47:10 +0530 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-12-12 12:07:12 +0100 |
commit | 3911bf8364dae4c855ad37237c114f9007f70657 (patch) | |
tree | da1aa46416849643f05b16d9d31705b99b5b35b2 /vcl | |
parent | 773a29a3fa188b0a1290781d305d2df868e1600c (diff) |
tdf#98253 Qt5 rely on VCL for SetDeactiveColor
Keep the DeactiveColor from generic vcl style without overriding it
with the Qt5 style.
Change-Id: I10ffdc79e1b6878d27ae13c6394ad50d7470f073
Reviewed-on: https://gerrit.libreoffice.org/64522
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/qt5/Qt5Frame.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qt5/Qt5Frame.cxx b/vcl/qt5/Qt5Frame.cxx index 1a39eefbab87..c123e8e638ee 100644 --- a/vcl/qt5/Qt5Frame.cxx +++ b/vcl/qt5/Qt5Frame.cxx @@ -837,7 +837,7 @@ void Qt5Frame::UpdateSettings(AllSettings& rSettings) style.SetToolbarIconSize(ToolbarIconSize::Large); style.SetActiveColor(toColor(pal.color(QPalette::Active, QPalette::Window))); - style.SetDeactiveColor(toColor(pal.color(QPalette::Inactive, QPalette::Window))); + // rely on VCL for style.SetDeactiveColor style.SetActiveTextColor(toColor(pal.color(QPalette::Active, QPalette::WindowText))); style.SetDeactiveTextColor(toColor(pal.color(QPalette::Inactive, QPalette::WindowText))); |