Tweak setting location to ensure compatibility between IDEs
Explicitly call sync to save `.ini` file
This commit is contained in:
parent
9a076a775f
commit
82bb63191a
1 changed files with 2 additions and 0 deletions
|
|
@ -3577,6 +3577,7 @@ class QtDriver(QObject):
|
|||
self.SIGTERM.connect(self.handleSIGTERM)
|
||||
|
||||
self.settings = QSettings(QSettings.IniFormat, QSettings.UserScope, 'TagStudio')
|
||||
self.settings = QSettings(QSettings.IniFormat, QSettings.UserScope, 'tagstudio', 'TagStudio')
|
||||
|
||||
|
||||
max_threads = os.cpu_count()
|
||||
|
|
@ -3830,6 +3831,7 @@ class QtDriver(QObject):
|
|||
if self.lib.library_dir:
|
||||
self.save_library()
|
||||
self.settings.setValue("last_library", self.lib.library_dir)
|
||||
self.settings.sync()
|
||||
QApplication.quit()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue