[QGIS Commit] r11595 - trunk/qgis/python/plugins/osm

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Sep 8 11:25:24 EDT 2009


Author: jef
Date: 2009-09-08 11:25:22 -0400 (Tue, 08 Sep 2009)
New Revision: 11595

Modified:
   trunk/qgis/python/plugins/osm/OsmDownloadDlg.py
Log:
fix temporary file generation when downloading from OSM

Modified: trunk/qgis/python/plugins/osm/OsmDownloadDlg.py
===================================================================
--- trunk/qgis/python/plugins/osm/OsmDownloadDlg.py	2009-09-08 12:34:34 UTC (rev 11594)
+++ trunk/qgis/python/plugins/osm/OsmDownloadDlg.py	2009-09-08 15:25:22 UTC (rev 11595)
@@ -325,7 +325,7 @@
         if self.finished:
             return
 
-        prefix=QString("/tmp/")
+        prefix=QDir.tempPath() + "/"
         if self.dbm.currentKey:
             key=QString(self.dbm.currentKey)
             p=key.lastIndexOf("/")



More information about the QGIS-commit mailing list