[Libreoffice-commits] core.git: vcl/qt5

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Dec 12 11:07:37 UTC 2018


 vcl/qt5/Qt5Frame.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3911bf8364dae4c855ad37237c114f9007f70657
Author:     Sumit Chauhan <sumitcn25 at gmail.com>
AuthorDate: Tue Dec 4 18:47:10 2018 +0530
Commit:     Jan-Marek Glogowski <glogow at fbihome.de>
CommitDate: Wed Dec 12 12:07:12 2018 +0100

    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 at fbihome.de>

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)));


More information about the Libreoffice-commits mailing list