Fix #3144: check for promptDeleteAllFiles config setting before emitting signal to...
authorCamila Ayres <hello@camilasan.com>
Tue, 4 Jun 2024 18:30:32 +0000 (20:30 +0200)
committerMatthieu Gallien <matthieu_gallien@yahoo.fr>
Fri, 28 Jun 2024 16:18:08 +0000 (18:18 +0200)
commit1f88052a8e6067c4191193d9dd95240296e70d70
tree471420971d3b1c2d55924b08ddbd4b3a4beca3dd
parentdce02d7d62dafc491761fc90b443a59b8ebfc889
Fix #3144: check for promptDeleteAllFiles config setting before emitting signal to display warning.

The signal is not connected to any slot when running nextcloudcmd.
The callback to finish the sync was never being called because the check for the config was done in the slot,
which was never called.

Signed-off-by: Camila Ayres <hello@camilasan.com>
src/gui/folder.cpp
src/libsync/syncengine.cpp