mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 16:18:58 +08:00
Remove Q_ENUMS for connection type, not used in QML anymore
This commit is contained in:
parent
1b356a3219
commit
eb1bde0516
@ -54,11 +54,6 @@ class ConnectionType(IntEnum):
|
||||
@signalemitter
|
||||
class PrinterOutputDevice(QObject, OutputDevice):
|
||||
|
||||
# Put ConnectionType here with Q_ENUMS() so it can be registered as a QML type and accessible via QML, and there is
|
||||
# no need to remember what those Enum integer values mean.
|
||||
ConnectionType = ConnectionType
|
||||
Q_ENUMS(ConnectionType)
|
||||
|
||||
printersChanged = pyqtSignal()
|
||||
connectionStateChanged = pyqtSignal(str)
|
||||
acceptsCommandsChanged = pyqtSignal()
|
||||
|
Loading…
x
Reference in New Issue
Block a user