diff data/fileio/CSVFileReader.h @ 1030:920699b6989d

Use filename as object name when reading data file to model (so it shows in the resulting layer name)
author Chris Cannam
date Fri, 13 Feb 2015 13:30:28 +0000
parents e369dd281cf2
children cc27f35aa75c
line wrap: on
line diff
--- a/data/fileio/CSVFileReader.h	Fri Feb 13 13:29:44 2015 +0000
+++ b/data/fileio/CSVFileReader.h	Fri Feb 13 13:30:28 2015 +0000
@@ -53,6 +53,7 @@
     CSVFormat m_format;
     QIODevice *m_device;
     bool m_ownDevice;
+    QString m_filename;
     QString m_error;
     mutable int m_warnings;
     int m_mainModelSampleRate;