Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QSettings stored at multiple locations #121

Open
slipher opened this issue Apr 29, 2024 · 0 comments
Open

QSettings stored at multiple locations #121

slipher opened this issue Apr 29, 2024 · 0 comments

Comments

@slipher
Copy link
Contributor

slipher commented Apr 29, 2024

We use the QSettings to store some settings for the updater. But there is also some Qt support code that makes its own QSettings in a different place to store settings for "QQControlsFileDialog". We should try to make all of them be in one place.

  • Windows: Our settings are in the registry at HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Unvanquished Development\Unvanquished Updater while QQControlsFileDialog is at HKEY_CURRENT_USER\SOFTWARE\Unvanquished Development\Unvanquished Updater.
  • Linux: Our settings are in the file ~/.config/unvanquished/updater.conf, while QQControlsFileDialog is in ~/.config/Unvanquished Development/Unvanquished Updater.conf.

A potential complication is that our main settings location on Windows requires admin permissions to write. But this would only become a problem if some component used in the splash screen were to need QSettings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant