Removed getBackend from Cura (and onto Uranium)

This commit is contained in:
Jaime van Kessel 2017-03-30 20:03:21 +02:00
parent 0c6d0a0abb
commit 891aebc366

View file

@ -694,13 +694,6 @@ class CuraApplication(QtApplication):
qmlRegisterType(QUrl.fromLocalFile(path), "Cura", 1, 0, type_name) qmlRegisterType(QUrl.fromLocalFile(path), "Cura", 1, 0, type_name)
## Get the backend of the application (the program that does the heavy lifting).
# The backend is also a QObject, which can be used from qml.
# \returns Backend \type{Backend}
@pyqtSlot(result = "QObject*")
def getBackend(self):
return self._backend
def onSelectionChanged(self): def onSelectionChanged(self):
if Selection.hasSelection(): if Selection.hasSelection():
if self.getController().getActiveTool(): if self.getController().getActiveTool():