Skip to content

Commit f954f5e

Browse files
committed
refactor(launcher): remove redundant window flags configuration
Remove commented visibility setting and conditional window flags that are no longer needed. 删除不再需要的窗口可见性注释和条件窗口标志配置。 Log: 移除冗余的窗口标志配置 PMS: BUG-289261, BUG-343503 Influence: 清理冗余代码,窗口标志现在由 DLayerShellWindow 统一管理。
1 parent c28015b commit f954f5e

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

shell-launcher-applet/package/launcheritem.qml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
1+
// SPDX-FileCopyrightText: 2023 -2026 UnionTech Software Technology Co., Ltd.
22
//
33
// SPDX-License-Identifier: GPL-3.0-or-later
44

@@ -205,12 +205,6 @@ AppletItem {
205205
DLayerShellWindow.exclusionZone: -1
206206
DLayerShellWindow.scope: "dde-shell/launchpad"
207207

208-
// visibility: Window.FullScreen
209-
flags: {
210-
if (DebugHelper.useRegularWindow) return Qt.Window
211-
return (Qt.FramelessWindowHint | Qt.Tool)
212-
}
213-
214208
DWindow.enabled: !DebugHelper.useRegularWindow
215209
DWindow.windowRadius: 0
216210
DWindow.enableSystemResize: false

0 commit comments

Comments
 (0)