Skip to content

[222_82] 清理标签页工具栏相关代码#3290

Open
da-liii wants to merge 1 commit intomainfrom
da/222_82/stage2
Open

[222_82] 清理标签页工具栏相关代码#3290
da-liii wants to merge 1 commit intomainfrom
da/222_82/stage2

Conversation

@da-liii
Copy link
Copy Markdown
Contributor

@da-liii da-liii commented May 8, 2026

移除与标签页工具栏显示/隐藏相关的所有死代码:

  • Scheme: 移除 tab bar 偏好设置、notify-icon-bar 和 toggle-visible-icon-bar 中 index=4 的处理
  • Scheme: 移除 preferences-widgets 中的 tab bar 偏好设置
  • C++: 移除 new_window 中的 force_tab_bar 参数,无条件启用标签页
  • C++: 移除 tm_window/tm_frame 中 toolbar index 4 的映射
  • C++: 移除 message.hpp 中的 tab pages visibility 辅助函数
  • C++: 移除 qt_tm_widget 中 SLOT_TAB_PAGES_VISIBILITY 的处理逻辑

标签页工具栏已是核心 UI 元素,不可隐藏。

移除与标签页工具栏显示/隐藏相关的所有死代码:
- Scheme: 移除 tab bar 偏好设置、notify-icon-bar 和 toggle-visible-icon-bar 中 index=4 的处理
- Scheme: 移除 preferences-widgets 中的 tab bar 偏好设置
- C++: 移除 new_window 中的 force_tab_bar 参数,无条件启用标签页
- C++: 移除 tm_window/tm_frame 中 toolbar index 4 的映射
- C++: 移除 message.hpp 中的 tab pages visibility 辅助函数
- C++: 移除 qt_tm_widget 中 SLOT_TAB_PAGES_VISIBILITY 的处理逻辑

标签页工具栏已是核心 UI 元素,不可隐藏。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@da-liii da-liii requested review from Minzihao and Yuki-Nagori May 8, 2026 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant