Explicit close
This commit is contained in:
1 parent
bb338db11a
commit
f627d0e24b
1 file changed
+1
@@ -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