1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 03:35:53 +01:00

Do not buffer the I/O as we are already reading in blocks

This commit is contained in:
Martin Tůma 2022-01-14 00:13:40 +01:00
parent 53b34ff24c
commit 76c2da9b50

View File

@ -26,7 +26,7 @@ public:
_data.resize(1U<<subFile->blockBits());
_file.setFileName(subFile->fileName());
_file.open(QIODevice::ReadOnly);
_file.open(QIODevice::ReadOnly | QIODevice::Unbuffered);
}
private: