Kaydet (Commit) 3911bf83 authored tarafından Sumit Chauhan's avatar Sumit Chauhan Kaydeden (comit) Jan-Marek Glogowski

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: 's avatarJan-Marek Glogowski <glogow@fbihome.de>
üst 773a29a3
......@@ -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)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment