Explicit close
This commit is contained in:
@@ -759,6 +759,7 @@ void MdReaderActivity::saveProgress() const {
|
|||||||
data[5] = (offset >> 24) & 0xFF;
|
data[5] = (offset >> 24) & 0xFF;
|
||||||
data[6] = ReaderUtils::pageProgressPercentByte(currentPage, totalPages);
|
data[6] = ReaderUtils::pageProgressPercentByte(currentPage, totalPages);
|
||||||
f.write(data, 7);
|
f.write(data, 7);
|
||||||
|
f.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user