提交 0d1ef5ef 编写于 作者: 之一Yo's avatar 之一Yo

修复 mac 下 `FluentWindow` 出现系统标题栏的问题

上级 ca6f28fe
......@@ -45,6 +45,7 @@ class FluentWindowBase(FramelessWindow):
qrouter.push(self.stackedWidget, widget.objectName())
def paintEvent(self, e):
super().paintEvent(e)
painter = QPainter(self)
painter.setPen(Qt.NoPen)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册