src/eric7/eric7_editor.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
--- a/src/eric7/eric7_editor.py	Sun Nov 06 11:22:39 2022 +0100
+++ b/src/eric7/eric7_editor.py	Mon Nov 07 17:19:58 2022 +0100
@@ -15,6 +15,8 @@
 import os
 import sys
 
+from PyQt6.QtGui import QGuiApplication
+
 for arg in sys.argv[:]:
     if arg.startswith("--config="):
         from eric7 import Globals
@@ -56,8 +58,6 @@
     """
     Main entry point into the application.
     """
-    from PyQt6.QtGui import QGuiApplication
-
     QGuiApplication.setDesktopFileName("eric7_editor.desktop")
 
     options = [

eric ide

mercurial