Mercurial > hg > svcore
diff transform/FileFeatureWriter.cpp @ 518:3cea770c6632
* crappy attempt to handle writing to directory somewhere other than C
drive on Windows
author | Chris Cannam |
---|---|
date | Thu, 11 Dec 2008 12:32:59 +0000 |
parents | 1aefb666ecfc |
children | 21f86744d38e |
line wrap: on
line diff
--- a/transform/FileFeatureWriter.cpp Thu Dec 11 11:30:15 2008 +0000 +++ b/transform/FileFeatureWriter.cpp Thu Dec 11 12:32:59 2008 +0000 @@ -170,6 +170,7 @@ QString dirname, basename; QString infilename = url.toLocalFile(); + if (scheme.length() == 1) infilename = scheme + ":" + infilename; // DOS drive! if (infilename == "") infilename = url.path(); basename = QFileInfo(infilename).baseName();