set QSettings account array size when saving #61
No reviewers
Labels
No Label
Bug
Documentation
Easy
Feature
Localization
Packaging
Refactoring
Test
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blue/squawk#61
Loading…
Reference in New Issue
Block a user
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
beginWriteArray
endArray
, things can go bad: settingcore/accounts/size
is not written, then next time squawk launches, the account array becomes empty.So it's better we set the size of
core/accounts
array as early asbeginWriteArray
.Pull request closed