The trunk version of the performance fix: don't set mDirty in setStatus if the status hasn't changed, to avoid rewriting every index entry at the end of the sync for the folder.
The trunk version of the performance fix: don't set mDirty in setStatus if the status hasn't changed,
to avoid rewriting every index entry at the end of the sync for the folder.

svn path=/trunk/KDE/kdepim/; revision=487872

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi