Un-deprecate activeMachine{Name,Id}

Since it provides too much noise and I do not want to change the code
that uses it right now.
This commit is contained in:
Arjen Hiemstra 2017-04-06 17:50:05 +02:00
parent 433537a2f0
commit 6827849220

View file

@ -500,7 +500,6 @@ class MachineManager(QObject):
return ""
@pyqtProperty(str, notify = globalContainerChanged)
@deprecated("Use activeMachine.name", "2.6")
def activeMachineName(self) -> str:
if self._global_container_stack:
return self._global_container_stack.getName()
@ -508,7 +507,6 @@ class MachineManager(QObject):
return ""
@pyqtProperty(str, notify = globalContainerChanged)
@deprecated("Use activeMachine.id", "2.6")
def activeMachineId(self) -> str:
if self._global_container_stack:
return self._global_container_stack.getId()