diff data/fileio/FileSource.cpp @ 439:beb2948baa77

* Merge revisions 1041 to 1130 from sv-rdf-import branch
author Chris Cannam
date Thu, 18 Sep 2008 12:09:32 +0000
parents 65311fb86166
children ef14acd6d102
line wrap: on
line diff
--- a/data/fileio/FileSource.cpp	Thu Aug 07 16:06:59 2008 +0000
+++ b/data/fileio/FileSource.cpp	Thu Sep 18 12:09:32 2008 +0000
@@ -209,6 +209,8 @@
             m_localFilename = m_url.toString();
             literal = true;
         }
+        m_localFilename = QFileInfo(m_localFilename).absoluteFilePath();
+
 #ifdef DEBUG_FILE_SOURCE
         std::cerr << "FileSource::init: URL translates to local filename \""
                   << m_localFilename.toStdString() << "\"" << std::endl;