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

@ -23,7 +23,6 @@ from PyQt5.QtCore import QTimer, QUrl
from PyQt5.QtWidgets import QMessageBox
from .LegacyUM3PrinterOutputController import LegacyUM3PrinterOutputController
from .UM3OutputDevicePlugin import UM3OutputDevicePlugin
from time import time
@ -79,7 +78,7 @@ class LegacyUM3OutputDevice(NetworkedPrinterOutputDevice):
self.setIconName("print")
self._monitor_view_qml_path = os.path.join(
PluginRegistry.getInstance().getPluginPath(UM3OutputDevicePlugin().getPluginId()),
PluginRegistry.getInstance().getPluginPath("UM3NetworkPrinting"),
"resources", "qml", "MonitorStage.qml"
)