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:33:39 +0000 (18:33 +0200)
commit6b2afd50af70b23cdda9161c3cad2b2b323c3bbd
treef28e88a191d8a0e78e5fd67db474088ea5f9fe7e
parent07317daffb2e9ca3e01bdf1f6aed5f2f3adc8818
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