DavidoTek / ProtonUp-Qt

Install and manage GE-Proton, Luxtorpeda & more for Steam and Wine-GE & more for Lutris with this graphical user interface.
https://davidotek.github.io/protonup-qt
GNU General Public License v3.0
1.22k stars 40 forks source link

Fix Qt Signal error (use Tuple) #172

Closed DavidoTek closed 1 year ago

DavidoTek commented 1 year ago

With Python 3.11.1 and PySide 6.4.0.1 following error occurs when the STL ctmod tries to display a question message box: question_box_message(PyObject) only accepts 1 argument(s), 5 given! Does not happen with ProtonUp-Qt AppImage (Python 3.8, PySide 6.2.4)

Fixed by passing a tuple with arguments instead of the arguments as parameters.

- Signal(str, str, QMessageBox.Icon)
+ Signal((str, str, QMessageBox.Icon))