Skip to content

Commit

Permalink
chore: add object name to the two frame window
Browse files Browse the repository at this point in the history
为两个窗口添加对象名称,便于在 GammaRay 之类的工具里辨识。

Log:
  • Loading branch information
BLumia committed Jan 11, 2024
1 parent 08a6434 commit 398ed6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qml/Main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ QtObject {
}

property var windowedFrame: ApplicationWindow {
objectName: "WindowedFrameApplicationWindow"
visible: LauncherController.visible && (LauncherController.currentFrame === "WindowedFrame")

width: 780
Expand Down Expand Up @@ -164,6 +165,7 @@ QtObject {
}

property var fullscreenFrame: ApplicationWindow {
objectName: "FullscreenFrameApplicationWindow"
visible: LauncherController.visible && (LauncherController.currentFrame !== "WindowedFrame")

width: Screen.width
Expand Down

0 comments on commit 398ed6c

Please sign in to comment.