From 7d2bab41350d7006366b7c450879fe99209713ea Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Fri, 16 Oct 2020 12:55:08 +0200 Subject: clean up handling of the UI Skia options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Disable the sub-option when the main option is disabled. Enable it for the proper VCL backends ("win" and "gen"). Change-Id: I38c2f605c10eb0f3cfae3f05cd4bada4877cdc2d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104426 Tested-by: Jenkins Reviewed-by: Luboš Luňák --- cui/source/options/optgdlg.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui/source/options/optgdlg.hxx') diff --git a/cui/source/options/optgdlg.hxx b/cui/source/options/optgdlg.hxx index 90daae0c92f0..973260283aaf 100644 --- a/cui/source/options/optgdlg.hxx +++ b/cui/source/options/optgdlg.hxx @@ -121,7 +121,7 @@ private: std::unique_ptr m_xMoreIcons; DECL_LINK(OnAntialiasingToggled, weld::ToggleButton&, void); - DECL_LINK(OnForceSkiaRasterToggled, weld::ToggleButton&, void); + DECL_LINK(OnUseSkiaToggled, weld::ToggleButton&, void); DECL_STATIC_LINK(OfaViewTabPage, OnMoreIconsClick, weld::Button&, void); void UpdateSkiaStatus(); -- cgit