-
Guillaume Roguez authored
When deleting the last account, method ProfileModelPrivate::slotAccountRemoved destroy the account then save the profile. This last triggers NewAccountModelPimpl::slotProfileUpdated(). But this one access to an empty account array (as all account are destroyed). Re-order profile-save/account delete to solve the issue (save first, destroy after). Change-Id: I427a51c3d1f97d0127567531616f360df45e4652 Reviewed-by: Nicolas Jäger <nicolas.jager@savoirfairelinux.com>
a4dfd6c8