Skip to content

Commit

Permalink
do not pause the folder when terms of service need to be signed
Browse files Browse the repository at this point in the history
is wrong as this stays paused once they are accepted

Signed-off-by: Matthieu Gallien <[email protected]>
  • Loading branch information
mgallien committed Oct 23, 2024
1 parent 95e5aed commit b108377
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/gui/folder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,6 @@ Folder::Folder(const FolderDefinition &definition,
if (!reloadExcludes())
qCWarning(lcFolder, "Could not read system exclude file");

connect(_accountState.data(), &AccountState::termsOfServiceChanged,
this, [this] ()
{
setSyncPaused(_accountState->state() == AccountState::NeedToSignTermsOfService);
});

connect(_accountState.data(), &AccountState::isConnectedChanged, this, &Folder::canSyncChanged);
connect(_engine.data(), &SyncEngine::rootEtag, this, &Folder::etagRetrievedFromSyncEngine);

Expand Down

0 comments on commit b108377

Please sign in to comment.