set QSettings account array size when saving #61

Closed
shunf4 wants to merge 1 commits from fix/acc_setting_unsaved into messageFeed
Contributor

if the app is killed (like, by Windows when shutting down) between beginWriteArray endArray, things can go bad: setting core/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 as beginWriteArray.

if the app is killed (like, by Windows when shutting down) between `beginWriteArray` `endArray`, things can go bad: setting `core/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 as `beginWriteArray`.
shunf4 added 1 commit 2021-12-19 14:32:16 +00:00
blue closed this pull request 2022-01-09 14:41:47 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blue/squawk#61
No description provided.