mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Prevent unnecessary merge requests on intermittent network shares
* Fixes #4118
This commit is contained in:
@@ -143,7 +143,9 @@ QByteArray FileWatcher::calculateChecksum()
|
||||
}
|
||||
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;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user