Handle the warning message when unchecking folders for syncing.
authorCamila <hello@camila.codes>
Wed, 2 Dec 2020 15:09:43 +0000 (16:09 +0100)
committerCamila <hello@camila.codes>
Mon, 14 Dec 2020 11:36:51 +0000 (12:36 +0100)
commitb4dc6826905cc74a0df745a1ae29962ed7b3d9da
tree24d1c079c5a829b4edc28ae0ac90fe28515586ef
parent0b985f274365e94ebf2239fe0a5ad3d5edec83bb
Handle the warning message when unchecking folders for syncing.

Split widgets and slot to handle the refreshing of the view:
- refreshSelectiveSyncStatus is connected to signal dirtyChanged
and will handle big folder warning.
- slotSelectiveSyncChanged  which is connected to dataChanged signal
and will handle the selective sync warning. It fixes #1029 because
it looks for the checkbox state before showing the warning.

Signed-off-by: Camila <hello@camila.codes>
src/gui/accountsettings.cpp
src/gui/accountsettings.h
src/gui/accountsettings.ui