[core] taskManager: code cleanup

This commit is contained in:
Yann Lanthony 2020-01-24 18:38:20 +01:00
parent 991aca989b
commit b883bd193b
3 changed files with 65 additions and 79 deletions

View file

@ -351,7 +351,7 @@ class UIGraph(QObject):
@Slot(Node)
def execute(self, node=None):
nodes = [node] if node else None
self._taskManager.compute(self._graph, nodes, self)
self._taskManager.compute(self._graph, nodes)
def _execute(self, nodes):
self.computeStatusChanged.emit()