Mercurial > hg > svcore
changeset 483:b13213785a6f
* Convert local filename properly to URL form
author | Chris Cannam |
---|---|
date | Tue, 18 Nov 2008 10:08:32 +0000 |
parents | f54381e01141 |
children | 45ded09e4710 |
files | rdf/PluginRDFIndexer.cpp |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rdf/PluginRDFIndexer.cpp Fri Nov 14 12:29:48 2008 +0000 +++ b/rdf/PluginRDFIndexer.cpp Tue Nov 18 10:08:32 2008 +0000 @@ -257,7 +257,8 @@ return false; } - localString = "file://" + cf.getLocalFilename(); //!!! crud - fix! + localString = QUrl::fromLocalFile(cf.getLocalFilename()).toString(); +// localString = "file://" + cf.getLocalFilename(); //!!! crud - fix! } // cerr << "PluginRDFIndexer::indexURL: url = <" << urlString.toStdString() << ">" << endl;