set QSettings account array size when saving #61
Loading…
x
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