mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-30 22:51:16 +01:00
Always check whether the file is at the end
This commit is contained in:
parent
d291320832
commit
811d41c26f
@ -63,5 +63,5 @@ bool CSV::readEntry(QStringList &list)
|
|||||||
|
|
||||||
list.append(field);
|
list.append(field);
|
||||||
|
|
||||||
return (state == 0 || (state == 2 && _device->atEnd()));
|
return (_device->atEnd() && (state == 0 || state == 2));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user