fix: UI 语义区分会话总量与日月累计 + 修复 onVisibleChanged 重复

弹窗'流量总计'改为'本次会话',明确是本次 dde-shell 运行期间累计;
流量统计窗口'按接口累计'改为'今日累计/本月累计',明确是跨重启持久化。
修复 TrafficStatsWindow onVisibleChanged 重复设置导致插件加载失败
This commit is contained in:
2026-08-09 07:21:13 +08:00
parent 6671bb0bd2
commit 18e433ea06
3 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -454,7 +454,7 @@ Control {
Item { Layout.fillWidth: true }
Text {
text: qsTr("Total")
text: qsTr("Session Total")
font.pixelSize: 12
color: popup.tertiaryText
}
+1 -1
View File
@@ -211,7 +211,7 @@ Window {
// 右侧数据说明:按接口累计
Text {
text: qsTr("Accumulated by interface")
text: root.currentTab === 0 ? qsTr("Today accumulated") : qsTr("This month accumulated")
font.pixelSize: 11
color: theme.textTertiary
}