Browse Source

Moved QObject out if TYPE_CHECKING statement

Contributes to: CURA-8587
Jelle Spijker 3 years ago
parent
commit
4c516e8cec
1 changed files with 1 additions and 2 deletions
  1. 1 2
      plugins/Marketplace/RestartManager.py

+ 1 - 2
plugins/Marketplace/RestartManager.py

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