Просмотр исходного кода

Remove unused function setConnectionType()

CURA-6011
Lipu Fei 6 лет назад
Родитель
Сommit
644944bc41
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      cura/PrinterOutputDevice.py

+ 0 - 4
cura/PrinterOutputDevice.py

@@ -129,10 +129,6 @@ class PrinterOutputDevice(QObject, OutputDevice):
     def getConnectionType(self) -> ConnectionType:
         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)
     def connectionState(self) -> ConnectionState:
         return self._connection_state