gubeihc / blasting

519 stars 48 forks source link

脚本运行报错 #4

Closed Tivon1995 closed 1 year ago

Tivon1995 commented 1 year ago

python BLAST.py Traceback (most recent call last): File "BLAST.py", line 977, in ui.setui_text(mainwindows) File "BLAST.py", line 631, in setui_text self.setupUi(window) File "BLAST.py", line 662, in setupUi window.move((screen.width() - size.width()) / 2, TypeError: arguments did not match any overloaded call: move(self, QPoint): argument 1 has unexpected type 'float' move(self, int, int): argument 1 has unexpected type 'float'

Tivon1995 commented 1 year ago

BLAST.py 第 662 行使用 int()转换可能出现的float参数值 改为 window.move(int((screen.width() - size.width())/2), int((screen.height() - size.height())/2))

gubeihc commented 1 year ago

秀呀,窗口居然还有这个错误 晚点加上