mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-04 13:07:38 +03:00
Prevent unnecessary merge requests on intermittent network shares
* Fixes #4118
This commit is contained in:
parent
39a7ce58b9
commit
cba8947ee8
1 changed files with 3 additions and 1 deletions
|
@ -143,7 +143,9 @@ QByteArray FileWatcher::calculateChecksum()
|
||||||
}
|
}
|
||||||
return hash.result();
|
return hash.result();
|
||||||
}
|
}
|
||||||
return {};
|
// If we fail to open the file return the last known checksum, this
|
||||||
|
// prevents unnecessary merge requests on intermittent network shares
|
||||||
|
return m_fileChecksum;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue