Mercurial > hg > svcore
diff data/fileio/FileSource.cpp @ 678:948271d124ac
Make more (though still not entirely) robust in the face of running out of disc space
author | Chris Cannam |
---|---|
date | Thu, 14 Apr 2011 15:20:27 +0100 |
parents | a4faa1840384 |
children | b4a8d8221eaf |
line wrap: on
line diff
--- a/data/fileio/FileSource.cpp Thu Apr 07 15:20:35 2011 +0100 +++ b/data/fileio/FileSource.cpp Thu Apr 14 15:20:27 2011 +0100 @@ -590,6 +590,12 @@ } QString +FileSource::getBasename() const +{ + return QFileInfo(m_localFilename).fileName(); +} + +QString FileSource::getContentType() const { return m_contentType;