ProfileStorage::loadDefaultByUser() is deprecated and should be replaced by loadByUser().
This probably means renaming AddressBook::loadDefault() as well.
AddressBook::loadAll() needs to stop sorting profiles because they're now properly presorted. This will require a few test changes in places that relied on a specific order.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3077908-2.patch | 7.81 KB | bojanz |
Comments
Comment #2
bojanz commentedInitial work.
The new sorting is really an improvement (ensures the default profile is always first).
Comment #4
bojanz commentedCommitted #2. We can rename AddressBook::loadDefault() in another issue if we decide we want to, I don't want to postpone the sorting fixes on that.