Diffusion Elisa 1e6814af0b19

makes AllAlbumsModel use a thread for long operations

Authored by mgallien on Feb 7 2018, 9:22 PM.

Description

makes AllAlbumsModel use a thread for long operations

Summary:
optimize the link from DatabaseInterface to AllAlbumsModel

use a thread for operations taking a long time in AllAlbumsModel

send multiple new albums in one signal

avoid sending modified album signals when we are modifying newly created
albums

make automatic tests of AllAlbumsModel more reliable

the other models will receive the same kind of modifications but I would
prefer to keep this review small

Test Plan: automatic tests are OK and the application feels fast

Reviewers: Elisa, astippich

Reviewed By: Elisa, astippich

Subscribers: astippich

Tags: Elisa

Maniphest Tasks: T7886

Differential Revision: https://phabricator.kde.org/D10374

Details

Committed
mgallienFeb 9 2018, 12:50 PM
Reviewer
Elisa
Differential Revision
D10374: makes AllAlbumsModel use a thread for long operations
Parents
R255:fd3f0ad5c4c7: reorder methods in mediaplaylist
Branches
Unknown
Tags
Unknown