vcl/qt5/Qt5Frame.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit e0c72e31c1d455c26110c35e8780d420e17cdea6 Author: Jan-Marek Glogowski <glo...@fbihome.de> AuthorDate: Tue Oct 20 21:01:31 2020 +0200 Commit: Jan-Marek Glogowski <glo...@fbihome.de> CommitDate: Wed Oct 21 00:27:46 2020 +0200 Qt5 use base color for workspace too This was uncovered by the fix for tdf#136555. The current color for the start center button bar is too dark. Regressed-by: a927e0964ba0442d53fffb22c577e54bcf183ed7 Change-Id: I36356117f03255cfbf1fa24a6391cb81cf1883db Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104578 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glo...@fbihome.de> diff --git a/vcl/qt5/Qt5Frame.cxx b/vcl/qt5/Qt5Frame.cxx index cdb7c8b510be..b3ae786e97b0 100644 --- a/vcl/qt5/Qt5Frame.cxx +++ b/vcl/qt5/Qt5Frame.cxx @@ -1023,7 +1023,6 @@ void Qt5Frame::UpdateSettings(AllSettings& rSettings) Color aText = toColor(pal.color(QPalette::Active, QPalette::Text)); Color aBase = toColor(pal.color(QPalette::Active, QPalette::Base)); Color aButn = toColor(pal.color(QPalette::Active, QPalette::ButtonText)); - Color aMid = toColor(pal.color(QPalette::Active, QPalette::Mid)); Color aHigh = toColor(pal.color(QPalette::Active, QPalette::Highlight)); Color aHighText = toColor(pal.color(QPalette::Active, QPalette::HighlightedText)); Color aLink = toColor(pal.color(QPalette::Active, QPalette::Link)); @@ -1047,6 +1046,7 @@ void Qt5Frame::UpdateSettings(AllSettings& rSettings) style.SetFieldColor(aBase); style.SetWindowColor(aBase); style.SetActiveTabColor(aBase); + style.SetWorkspaceColor(aBase); style.SetAlternatingRowColor(toColor(pal.color(QPalette::Active, QPalette::AlternateBase))); // Buttons @@ -1078,9 +1078,6 @@ void Qt5Frame::UpdateSettings(AllSettings& rSettings) style.BatchSetBackgrounds(aBack); style.SetInactiveTabColor(aBack); - // Workspace - style.SetWorkspaceColor(aMid); - // Selection style.SetHighlightColor(aHigh); style.SetHighlightTextColor(aHighText); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits