Moved QObject out if TYPE_CHECKING statement

Contributes to: CURA-8587
This commit is contained in:
Jelle Spijker 2021-12-08 16:14:59 +01:00
parent e4d469b6a1
commit 4c516e8cec
No known key found for this signature in database
GPG Key ID: 6662DC033BE6B99A

View File

@ -2,12 +2,11 @@
# Cura is released under the terms of the LGPLv3 or higher. # Cura is released under the terms of the LGPLv3 or higher.
from typing import Optional, TYPE_CHECKING from typing import Optional, TYPE_CHECKING
from PyQt5.QtCore import pyqtProperty, pyqtSignal from PyQt5.QtCore import pyqtProperty, pyqtSignal, QObject
from cura.CuraApplication import CuraApplication from cura.CuraApplication import CuraApplication
if TYPE_CHECKING: if TYPE_CHECKING:
from PyQt5.QtCore import QObject
from UM.PluginRegistry import PluginRegistry from UM.PluginRegistry import PluginRegistry
from cura.CuraPackageManager import CuraPackageManager from cura.CuraPackageManager import CuraPackageManager