mirror of
https://github.com/ModOrganizer2/pystubs-generation.git
synced 2026-07-27 14:07:13 -07:00
Fix metaclass issue with abc.ABC and Qt.
This commit is contained in:
@@ -2166,14 +2166,15 @@ mobase:
|
||||
|
||||
ISaveGameInfoWidget:
|
||||
__doc__: Base class for a save game info widget.
|
||||
__abstract__: true
|
||||
# Class not abstract because it conflicts with Qt metaclass:
|
||||
# __abstract__: true
|
||||
__init__:
|
||||
args:
|
||||
parent: Parent widget.
|
||||
_widget:
|
||||
abstract: false
|
||||
returns: The underlying `QWidget`.
|
||||
setSave:
|
||||
abstract: true
|
||||
__doc__: Set the save file to display in this widget.
|
||||
args:
|
||||
save: Path to the save file.
|
||||
|
||||
@@ -2874,7 +2874,7 @@ class ISaveGame:
|
||||
"""
|
||||
...
|
||||
|
||||
class ISaveGameInfoWidget(abc.ABC, PyQt5.QtWidgets.QWidget):
|
||||
class ISaveGameInfoWidget(PyQt5.QtWidgets.QWidget):
|
||||
"""
|
||||
Base class for a save game info widget.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user