Bring back the red box for errors #3796
authorJocelyn Turcotte <jturcotte@woboq.com>
Wed, 6 Jan 2016 09:56:07 +0000 (10:56 +0100)
committerJocelyn Turcotte <jturcotte@woboq.com>
Wed, 6 Jan 2016 11:37:35 +0000 (12:37 +0100)
commita63ebe09049c3f8108bd7af8126192583ee33ee6
treed881fd8c5f7727dde5d816988335d41d75e7a0e7
parentef9483c82d111464e67291cd134beef99d0afcfc
Bring back the red box for errors #3796

This use the previous code by resetting the progress to hide
the progress back and then return errors in the FolderErrorMsg
data role of the folder model.

This also remove the unused FolderRemotePath role, remove FolderStatus
in favor of invalidating all roles in dataChanged and make sure
that the SyncRunning role is transfered properly from the SyncResult
to show the warning icon during sync.
src/gui/folderstatusdelegate.cpp
src/gui/folderstatusdelegate.h
src/gui/folderstatusmodel.cpp