mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 09:33:25 -08:00
Fix ZeldaZach review for PR 7494: match by remoteId/guid before remote-delete, only tombstone when file truly missing
This commit is contained in:
parent
4e5c4403b2
commit
f8cd3126f9
1 changed files with 3 additions and 0 deletions
|
|
@ -336,6 +336,9 @@ void DeckSyncManager::onListFinished(const Response &response, const CommandCont
|
|||
if (localFiles.contains(it.key())) {
|
||||
continue;
|
||||
}
|
||||
if (QFileInfo::exists(deckPath + "/" + it.key())) {
|
||||
continue;
|
||||
}
|
||||
if (it.value().remoteId == -1) {
|
||||
sidecar.remove(it.key());
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue