mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06: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 bafaf16fcb
.
This commit is contained in:
parent
bafaf16fcb
commit
6dc194d8de
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||||
|
@ -540,4 +535,4 @@ class ConnectionState(IntEnum):
|
||||||
connecting = 1
|
connecting = 1
|
||||||
connected = 2
|
connected = 2
|
||||||
busy = 3
|
busy = 3
|
||||||
error = 4
|
error = 4
|
Loading…
Add table
Add a link
Reference in a new issue