Preferences/__init__.py

branch
Py2 comp.
changeset 2552
1e893ea4e366
parent 2550
e15087ddb41e
child 2573
71837b5366d5
equal deleted inserted replaced
2551:d51f443e21f4 2552:1e893ea4e366
1111 dn = QDir(hp) 1111 dn = QDir(hp)
1112 dn.mkdir(".eric5") 1112 dn.mkdir(".eric5")
1113 QCoreApplication.setOrganizationName(settingsNameOrganization) 1113 QCoreApplication.setOrganizationName(settingsNameOrganization)
1114 QCoreApplication.setApplicationName(settingsNameGlobal) 1114 QCoreApplication.setApplicationName(settingsNameGlobal)
1115 1115
1116 # Avoid nasty behavior of QSettings in combination with Py2
1117 Prefs.settings.value("UI/SingleApplicationMode")
1118
1116 1119
1117 def syncPreferences(prefClass=Prefs): 1120 def syncPreferences(prefClass=Prefs):
1118 """ 1121 """
1119 Module function to sync the preferences to disk. 1122 Module function to sync the preferences to disk.
1120 1123

eric ide

mercurial