mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-06 05:24:13 -04:00
Formatting the code.
This commit is contained in:
parent
74efc57369
commit
8324d03f0a
294 changed files with 3796 additions and 3740 deletions
|
@ -35,8 +35,7 @@ qint64 FailDevice::readData(char* data, qint64 len)
|
|||
if (m_readCount >= m_failAfter) {
|
||||
setErrorString("FAILDEVICE");
|
||||
return -1;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
qint64 result = QBuffer::readData(data, len);
|
||||
if (result != -1) {
|
||||
m_readCount += result;
|
||||
|
@ -51,8 +50,7 @@ qint64 FailDevice::writeData(const char* data, qint64 len)
|
|||
if (m_writeCount >= m_failAfter) {
|
||||
setErrorString("FAILDEVICE");
|
||||
return -1;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
qint64 result = QBuffer::writeData(data, len);
|
||||
if (result != -1) {
|
||||
m_writeCount += result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue