eric6/eric6_tray.py

changeset 8143
2c730d5fd177
parent 7960
e8fc383322f7
--- a/eric6/eric6_tray.py	Mon Mar 01 17:48:43 2021 +0100
+++ b/eric6/eric6_tray.py	Tue Mar 02 17:17:09 2021 +0100
@@ -30,8 +30,8 @@
         SettingsDir = os.path.expanduser(arg.replace("--settings=", ""))
         if not os.path.isdir(SettingsDir):
             os.makedirs(SettingsDir)
-        QSettings.setPath(QSettings.IniFormat, QSettings.UserScope,
-                          SettingsDir)
+        QSettings.setPath(
+            QSettings.Format.IniFormat, QSettings.Scope.UserScope, SettingsDir)
         sys.argv.remove(arg)
 
 from Globals import AppInfo

eric ide

mercurial