mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-05 07:45:09 +08:00
Update references to JediWifiPrinting to UM3NetworkPrinting
Contributes to CURA-2342
This commit is contained in:
parent
720dd9c50c
commit
fefa111b5a
@ -35,7 +35,7 @@ class DiscoverUM3Action(MachineAction):
|
|||||||
@pyqtSlot()
|
@pyqtSlot()
|
||||||
def startDiscovery(self):
|
def startDiscovery(self):
|
||||||
if not self._network_plugin:
|
if not self._network_plugin:
|
||||||
self._network_plugin = Application.getInstance().getOutputDeviceManager().getOutputDevicePlugin("JediWifiPrintingPlugin")
|
self._network_plugin = Application.getInstance().getOutputDeviceManager().getOutputDevicePlugin("UM3NetworkPrinting")
|
||||||
self._network_plugin.printerListChanged.connect(self._onPrinterDiscoveryChanged)
|
self._network_plugin.printerListChanged.connect(self._onPrinterDiscoveryChanged)
|
||||||
self.printersChanged.emit()
|
self.printersChanged.emit()
|
||||||
|
|
||||||
@ -105,7 +105,7 @@ class DiscoverUM3Action(MachineAction):
|
|||||||
def _createAdditionalComponentsView(self):
|
def _createAdditionalComponentsView(self):
|
||||||
Logger.log("d", "Creating additional ui components for UM3.")
|
Logger.log("d", "Creating additional ui components for UM3.")
|
||||||
|
|
||||||
path = QUrl.fromLocalFile(os.path.join(PluginRegistry.getInstance().getPluginPath("JediWifiPrintingPlugin"), "UM3InfoComponents.qml"))
|
path = QUrl.fromLocalFile(os.path.join(PluginRegistry.getInstance().getPluginPath("UM3NetworkPrinting"), "UM3InfoComponents.qml"))
|
||||||
self.__additional_component = QQmlComponent(Application.getInstance()._engine, path)
|
self.__additional_component = QQmlComponent(Application.getInstance()._engine, path)
|
||||||
|
|
||||||
# We need access to engine (although technically we can't)
|
# We need access to engine (although technically we can't)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user