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

New commits:
commit 5468ba95e24c0c513646797379241f1063032dff
Author:     Sumit Chauhan <[email protected]>
AuthorDate: Tue Dec 4 18:47:10 2018 +0530
Commit:     Michael Weghorn <[email protected]>
CommitDate: Sat Jan 19 01:15:55 2019 +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 <[email protected]>
    (cherry picked from commit 3911bf8364dae4c855ad37237c114f9007f70657)
    Reviewed-on: https://gerrit.libreoffice.org/65560
    Reviewed-by: Michael Weghorn <[email protected]>
    (cherry picked from commit 66d3a5b78b7a7665a75047c87ac180eeb03b476f)
    Reviewed-on: https://gerrit.libreoffice.org/66610
    Tested-by: Michael Weghorn <[email protected]>

diff --git a/vcl/qt5/Qt5Frame.cxx b/vcl/qt5/Qt5Frame.cxx
index e42621e95c1b..955412073501 100644
--- a/vcl/qt5/Qt5Frame.cxx
+++ b/vcl/qt5/Qt5Frame.cxx
@@ -848,7 +848,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)));
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to