set QSettings account array size when saving #61
No reviewers
Labels
No labels
Bug
Documentation
Easy
Feature
Localization
Packaging
Refactoring
Test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: blue/squawk#61
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/acc_setting_unsaved"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
if the app is killed (like, by Windows when shutting down) between
beginWriteArrayendArray, things can go bad: settingcore/accounts/sizeis not written, then next time squawk launches, the account array becomes empty.So it's better we set the size of
core/accountsarray as early asbeginWriteArray.Pull request closed