From 546aaa1bc08cf07507b21a05b3bc431e88acaff8 Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Wed, 16 Sep 2026 23:57:51 -0600 Subject: [PATCH] fix(macos): call the tray store's real accessor in the Dock policy The Dock-hiding policy read the tray settings through `.get()`, which does not exist on `TraySettingsState`; the method is `get_settings()`, as the same file already calls it twelve lines above. The call sits inside a macOS cfg block, so Linux and Windows compiled cleanly and only the two macOS release legs failed. Verified by a release build on the Mac mini. cc --- crates/qbz-qt/src/tray_qt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/qbz-qt/src/tray_qt.rs b/crates/qbz-qt/src/tray_qt.rs index e4920bce7..7e3bdc41c 100644 --- a/crates/qbz-qt/src/tray_qt.rs +++ b/crates/qbz-qt/src/tray_qt.rs @@ -645,7 +645,7 @@ pub(crate) fn refresh_mac_dock_policy(tray_live: bool) { #[cfg(target_os = "macos")] { let hide_dock = crate::settings_qt::tray() - .get() + .get_settings() .map(|settings| settings.mac_hide_dock) .unwrap_or(false); set_mac_dock_hidden(mac_dock_should_hide(