mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Fix typing issues
This commit is contained in:
parent
2676c7fa2f
commit
d548404dfd
4 changed files with 10 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue