eric7/Preferences/__init__.py

branch
eric7
changeset 8637
394377638256
parent 8624
5192a2592324
child 8697
936662560d04
--- a/eric7/Preferences/__init__.py	Sat Sep 25 18:08:10 2021 +0200
+++ b/eric7/Preferences/__init__.py	Sat Sep 25 18:12:48 2021 +0200
@@ -1628,7 +1628,17 @@
     QCoreApplication.setApplicationName(Globals.settingsNameGlobal)
     
     Prefs.settings.value("UI/SingleApplicationMode")
+
+
+def getSettings():
+    """
+    Function to get a reference to the settings object.
     
+    @return reference to the settings object
+    @rtype QSettings
+    """
+    return Prefs.settings
+
 
 def syncPreferences():
     """

eric ide

mercurial