Prevent circular dependencies

Contributes to CL-1274
This commit is contained in:
Ian Paschal 2019-03-04 11:27:52 +01:00
parent a1e0ddd9df
commit c8580cf417
3 changed files with 3 additions and 6 deletions

View file

@ -32,7 +32,6 @@ from .ConfigurationChangeModel import ConfigurationChangeModel
from .MeshFormatHandler import MeshFormatHandler
from .SendMaterialJob import SendMaterialJob
from .UM3PrintJobOutputModel import UM3PrintJobOutputModel
from .UM3OutputDevicePlugin import UM3OutputDevicePlugin
from PyQt5.QtNetwork import QNetworkRequest, QNetworkReply
from PyQt5.QtGui import QDesktopServices, QImage
@ -67,7 +66,7 @@ class ClusterUM3OutputDevice(NetworkedPrinterOutputDevice):
self._received_print_jobs = False # type: bool
self._monitor_view_qml_path = os.path.join(
PluginRegistry.getInstance().getPluginPath(UM3OutputDevicePlugin().getPluginId()),
PluginRegistry.getInstance().getPluginPath("UM3NetworkPrinting"),
"resources", "qml", "MonitorStage.qml"
)