mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 15:15:56 +08:00
Revert "PrinterOutputDevice: Adding isConnectionState"
1. Shouldn't go directly to upstream's master 2. GitHub still loves to kill the last line This reverts commit bafaf16fcbba5867353d012509f27c1c3f1a8d8f.
This commit is contained in:
parent
bafaf16fcb
commit
6dc194d8de
@ -366,11 +366,6 @@ class PrinterOutputDevice(QObject, OutputDevice):
|
|||||||
self._connection_state = connection_state
|
self._connection_state = connection_state
|
||||||
self.connectionStateChanged.emit(self._id)
|
self.connectionStateChanged.emit(self._id)
|
||||||
|
|
||||||
## Check the connection state of this output device.
|
|
||||||
# /param connection_state ConnectionState enum.
|
|
||||||
def isConnectionState(self, connection_state):
|
|
||||||
return self._connection_state == connection_state
|
|
||||||
|
|
||||||
@pyqtProperty(str, notify = connectionTextChanged)
|
@pyqtProperty(str, notify = connectionTextChanged)
|
||||||
def connectionText(self):
|
def connectionText(self):
|
||||||
return self._connection_text
|
return self._connection_text
|
||||||
|
Loading…
x
Reference in New Issue
Block a user