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 {