mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 07:05:54 +08:00
Removed debug print statements
This commit is contained in:
parent
2bd7b5764d
commit
251c043add
@ -155,7 +155,6 @@ class USBPrinterManager(QObject, SignalEmitter, OutputDevicePlugin, Extension):
|
||||
self._printer_connections[serial_port] = connection
|
||||
|
||||
def _onPrinterConnectionStateChanged(self, serial_port):
|
||||
print("On state changed: ", self)
|
||||
if self._printer_connections[serial_port].isConnected():
|
||||
self.getOutputDeviceManager().addOutputDevice(self._printer_connections[serial_port])
|
||||
else:
|
||||
@ -164,7 +163,6 @@ class USBPrinterManager(QObject, SignalEmitter, OutputDevicePlugin, Extension):
|
||||
|
||||
@pyqtProperty(QObject , notify = printerConnectionStateChanged)
|
||||
def connectedPrinterList(self):
|
||||
print("ConnectedPrinterList: ", self)
|
||||
self._printer_connections_model = ListModel()
|
||||
self._printer_connections_model.addRoleName(Qt.UserRole + 1,"name")
|
||||
self._printer_connections_model.addRoleName(Qt.UserRole + 2, "printer")
|
||||
|
@ -18,7 +18,7 @@ Column
|
||||
text: parent.title
|
||||
font.pointSize: 18;
|
||||
}
|
||||
Component.onCompleted: console.log(UM.USBPrinterManager.connectedPrinterList.count)
|
||||
|
||||
Label
|
||||
{
|
||||
//: Add Printer wizard page description
|
||||
|
Loading…
x
Reference in New Issue
Block a user