From d2913208328332e84512d97d420868bf7f20dfda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 6 Jun 2021 08:04:21 +0200 Subject: [PATCH] Allow "quoted" CSV files not ending with CRLF --- src/data/csv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/csv.cpp b/src/data/csv.cpp index 075b0926..56a650a3 100644 --- a/src/data/csv.cpp +++ b/src/data/csv.cpp @@ -63,5 +63,5 @@ bool CSV::readEntry(QStringList &list) list.append(field); - return (state == 0); + return (state == 0 || (state == 2 && _device->atEnd())); }