Fix typing issues

This commit is contained in:
Jaime van Kessel 2019-08-29 16:23:10 +02:00
parent 2676c7fa2f
commit d548404dfd
4 changed files with 10 additions and 4 deletions

View file

@ -921,12 +921,12 @@ class CuraApplication(QtApplication):
# Can't deprecate this function since the deprecation marker collides with pyqtSlot!
@pyqtSlot(result = QObject)
def getMaterialManager(self, *args) -> "MaterialManager":
def getMaterialManager(self, *args) -> cura.Machines.MaterialManager.MaterialManager:
return cura.Machines.MaterialManager.MaterialManager.getInstance()
# Can't deprecate this function since the deprecation marker collides with pyqtSlot!
@pyqtSlot(result = QObject)
def getQualityManager(self, *args) -> "QualityManager":
def getQualityManager(self, *args) -> cura.Machines.QualityManager.QualityManager:
return cura.Machines.QualityManager.QualityManager.getInstance()
def getIntentManager(self, *args) -> IntentManager: