mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-26 15:41:02 -04:00
Make HashedBlockStream::atEnd report EOF correctly
This commit is contained in:
parent
663b8dcb08
commit
a5ec7fc704
2 changed files with 6 additions and 0 deletions
|
@ -256,3 +256,7 @@ bool HashedBlockStream::writeHashedBlock()
|
|||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool HashedBlockStream::atEnd() const {
|
||||
return m_eof;
|
||||
}
|
||||
|
|
|
@ -34,6 +34,8 @@ public:
|
|||
bool reset() override;
|
||||
void close() override;
|
||||
|
||||
bool atEnd() const override;
|
||||
|
||||
protected:
|
||||
qint64 readData(char* data, qint64 maxSize) override;
|
||||
qint64 writeData(const char* data, qint64 maxSize) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue