Skip to content

Commit

Permalink
In Folder, use isSyncRunning() to check if sync engine is syncing.
Browse files Browse the repository at this point in the history
Signed-off-by: Camila Ayres <[email protected]>
  • Loading branch information
camilasan committed Jul 22, 2024
1 parent 251da0d commit b9fec38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/folder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1526,7 +1526,7 @@ void Folder::slotWatcherUnreliable(const QString &message)
void Folder::slotHydrationStarts()
{
// Abort any running full sync run and reschedule
if (_engine->isSyncRunning()) {
if (isSyncRunning()) {
setSilenceErrorsUntilNextSync(true);
slotTerminateSync();
scheduleThisFolderSoon();
Expand Down

0 comments on commit b9fec38

Please sign in to comment.