zhiyiYo / PyQt-Fluent-Widgets

A fluent design widgets library based on C++ Qt/PyQt/PySide. Make Qt Great Again.
https://qfluentwidgets.com
GNU General Public License v3.0
5.61k stars 541 forks source link

pyside6版本里边的example里边的message_dialog样例运行报错。 #185

Closed bbg221 closed 1 year ago

bbg221 commented 1 year ago

Traceback (most recent call last): File "D:\download\PyQt-Fluent-Widgets-PySide6\examples\message_dialog\demo.py", line 24, in showDialog w = MessageBox(title, content, self) File "C:\Users\桥南\AppData\Local\Programs\Python\Python310\lib\site-packages\qfluentwidgets\components\dialog_box\dialog.py", line 134, in init super().init(parent=parent) File "C:\Users\桥南\AppData\Local\Programs\Python\Python310\lib\site-packages\qfluentwidgets\components\dialog_box\mask_dialog_base.py", line 14, in init super().init(parent=parent) TypeError: object.init() takes exactly one argument (the instance to initialize)

zhiyiYo commented 1 year ago

和 #103 重复了