This commit is contained in:
恍兮惚兮 2024-08-02 18:03:17 +08:00
parent 3c042d6841
commit 9fce9e0060

View File

@ -621,7 +621,8 @@ class QUnFrameWindow(resizableframeless):
super(QUnFrameWindow, self).__init__(
None,
flags=Qt.WindowType.FramelessWindowHint
| Qt.WindowType.WindowMinimizeButtonHint,
| Qt.WindowType.WindowMinimizeButtonHint
| Qt.WindowType.Tool,
poslist=globalconfig["transuigeo"],
) # 设置为顶级窗口,无边框
icon = getExeIcon(sys.argv[0]) #'./LunaTranslator.exe')# QIcon()