diff data/model/WaveFileModel.cpp @ 1010:36f79bc5c3d7

Provide access to local filename
author Chris Cannam
date Fri, 14 Nov 2014 17:23:38 +0000
parents 9869ea3a93b7
children cc27f35aa75c
line wrap: on
line diff
--- a/data/model/WaveFileModel.cpp	Fri Nov 14 17:23:27 2014 +0000
+++ b/data/model/WaveFileModel.cpp	Fri Nov 14 17:23:38 2014 +0000
@@ -183,6 +183,13 @@
     if (m_reader) return m_reader->getLocation();
     return "";
 }
+
+QString
+WaveFileModel::getLocalFilename() const
+{
+    if (m_reader) return m_reader->getLocalFilename();
+    return "";
+}
     
 int
 WaveFileModel::getData(int channel, int start, int count,