comparison 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
comparison
equal deleted inserted replaced
438:32c399d06374 439:beb2948baa77
207 if (m_localFilename == "") { 207 if (m_localFilename == "") {
208 // QUrl may have mishandled the scheme (e.g. in a DOS path) 208 // QUrl may have mishandled the scheme (e.g. in a DOS path)
209 m_localFilename = m_url.toString(); 209 m_localFilename = m_url.toString();
210 literal = true; 210 literal = true;
211 } 211 }
212 m_localFilename = QFileInfo(m_localFilename).absoluteFilePath();
213
212 #ifdef DEBUG_FILE_SOURCE 214 #ifdef DEBUG_FILE_SOURCE
213 std::cerr << "FileSource::init: URL translates to local filename \"" 215 std::cerr << "FileSource::init: URL translates to local filename \""
214 << m_localFilename.toStdString() << "\"" << std::endl; 216 << m_localFilename.toStdString() << "\"" << std::endl;
215 #endif 217 #endif
216 m_ok = true; 218 m_ok = true;