From ddbf56c63beb295078876aa69efce0e18926f53c Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Wed, 1 May 2019 10:11:08 -0600 Subject: [PATCH] Bug fixes --- openbr/plugins/gallery/csv.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/openbr/plugins/gallery/csv.cpp b/openbr/plugins/gallery/csv.cpp index c9b2a9b..c3ea512 100644 --- a/openbr/plugins/gallery/csv.cpp +++ b/openbr/plugins/gallery/csv.cpp @@ -93,10 +93,10 @@ public: header.indices.append(i); // Look for other subheaders with the same key - for (int j=i; j combinedFiles; - for (qint64 i = 0; i < !f.atEnd(); i++) { + while (!f.atEnd()) { const QVariantList values = parseLine(f.readLine()); const QString name = values.first().toString(); File &in = combinedFiles[name]; @@ -206,7 +203,6 @@ class csvGallery : public FileGallery setValuesFromHeaders(in, headers, values.mid(1)); } - qDebug() << combinedFiles.values(); foreach (const File &in, combinedFiles.values()) templates.append(in); } else { -- libgit2 0.21.4