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

Remove unused function checkConnectionType()

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

+ 0 - 3
cura/PrinterOutputDevice.py

@@ -126,9 +126,6 @@ class PrinterOutputDevice(QObject, OutputDevice):
             self._connection_state = connection_state
             self.connectionStateChanged.emit(self._id)
 
-    def checkConnectionType(self, connection_type: ConnectionType) -> bool:
-        return connection_type == self._connection_type
-
     def getConnectionType(self) -> ConnectionType:
         return self._connection_type