mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 04:37:51 -06:00
Remove unused function setConnectionType()
CURA-6011
This commit is contained in:
parent
0aa49270eb
commit
644944bc41
1 changed files with 0 additions and 4 deletions
|
@ -129,10 +129,6 @@ class PrinterOutputDevice(QObject, OutputDevice):
|
||||||
def getConnectionType(self) -> ConnectionType:
|
def getConnectionType(self) -> ConnectionType:
|
||||||
return self._connection_type
|
return self._connection_type
|
||||||
|
|
||||||
def setConnectionType(self, new_connection_type: ConnectionType) -> None:
|
|
||||||
if self._connection_type != new_connection_type:
|
|
||||||
self._connection_type = new_connection_type
|
|
||||||
|
|
||||||
@pyqtProperty(str, notify = connectionStateChanged)
|
@pyqtProperty(str, notify = connectionStateChanged)
|
||||||
def connectionState(self) -> ConnectionState:
|
def connectionState(self) -> ConnectionState:
|
||||||
return self._connection_state
|
return self._connection_state
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue