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:
parent
53b34ff24c
commit
76c2da9b50
@ -26,7 +26,7 @@ public:
|
|||||||
|
|
||||||
_data.resize(1U<<subFile->blockBits());
|
_data.resize(1U<<subFile->blockBits());
|
||||||
_file.setFileName(subFile->fileName());
|
_file.setFileName(subFile->fileName());
|
||||||
_file.open(QIODevice::ReadOnly);
|
_file.open(QIODevice::ReadOnly | QIODevice::Unbuffered);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user