1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-06 06:43:22 +02:00

Always check whether the file is at the end

This commit is contained in:
Martin Tůma 2021-06-06 16:56:26 +02:00
parent d291320832
commit 811d41c26f

View File

@ -63,5 +63,5 @@ bool CSV::readEntry(QStringList &list)
list.append(field);
return (state == 0 || (state == 2 && _device->atEnd()));
return (_device->atEnd() && (state == 0 || state == 2));
}