changeset 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 77b4ce536d8f
children 21f86744d38e
files transform/FileFeatureWriter.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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();