Applied the profiler's pyqtSlot decorator to all of the code.

This commit is contained in:
Simon Edwards 2017-01-10 13:35:39 +01:00
parent 958187eb5d
commit a5181f157e
13 changed files with 25 additions and 14 deletions

View file

@ -1,7 +1,8 @@
# Copyright (c) 2016 Ultimaker B.V.
# Cura is released under the terms of the AGPLv3 or higher.
from PyQt5.QtCore import pyqtSignal, pyqtProperty, pyqtSlot, QObject, QVariant #For communicating data and events to Qt.
from PyQt5.QtCore import pyqtSignal, pyqtProperty, QObject, QVariant #For communicating data and events to Qt.
from UM.FlameProfiler import pyqtSlot
import UM.Application #To get the global container stack to find the current machine.
import UM.Logger