FAForever / FAForever/client

Revamp access to FAF settings file

Aperta
#562 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
78
Fork
89
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

FAF uses QSettings to save and load application-wide settings. It has a Settings singleton defined in the config module that abstracts the saving and loading of settings, as well as setting settings without saving them at exit.

The way FAF actually uses them is messy. Some code uses Settings with hardcoded config names and types, some code creates magic "persisted properties", some code steals the actual QSettings and uses it directly. This can be cleaned up to use constants and avoid using the QSettings object.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.