From ee885e0dbb16398f58cda108fe77272e1ab53c79 Mon Sep 17 00:00:00 2001 From: Jokul Date: Sat, 8 Aug 2026 23:24:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=B3=E4=BA=8E=E7=AA=97=E5=8F=A3?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E6=8B=96=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit drag.target 对 Window 无效,改用 startSystemMove() 系统级窗口拖动, 与 SettingsWindow/TrafficChartWindow 一致 --- package/components/AboutWindow.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/components/AboutWindow.qml b/package/components/AboutWindow.qml index 986c0f2..68a0425 100644 --- a/package/components/AboutWindow.qml +++ b/package/components/AboutWindow.qml @@ -74,9 +74,12 @@ Window { color: "transparent" // 拖动层:声明在关闭按钮之前(位于其下方),避免遮挡按钮点击与 hover + // 用 startSystemMove() 系统级窗口拖动(drag.target 对 Window 无效, + // 与 SettingsWindow/TrafficChartWindow 一致) MouseArea { anchors.fill: parent - drag.target: root + cursorShape: Qt.OpenHandCursor + onPressed: root.startSystemMove() } Text {