Add type hinting for getMachineManager

I like it when my IDE can give me hints, so return types are important.

Contributes to issue CURA-4243.
This commit is contained in:
Ghostkeeper 2017-12-06 10:37:06 +01:00
parent 7d24933835
commit 3e2e133682
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A

View file

@ -725,7 +725,7 @@ class CuraApplication(QtApplication):
self.exec_()
def getMachineManager(self, *args):
def getMachineManager(self, *args) -> MachineManager:
if self._machine_manager is None:
self._machine_manager = MachineManager.createMachineManager()
return self._machine_manager