From 7243486afc2eba608592adaf17215f7b857aeacd Mon Sep 17 00:00:00 2001 From: jef Date: Tue, 8 Sep 2009 15:25:22 +0000 Subject: [PATCH] fix temporary file generation when downloading from OSM git-svn-id: http://svn.osgeo.org/qgis/trunk@11595 c8812cc2-4d05-0410-92ff-de0c093fc19c --- python/plugins/osm/OsmDownloadDlg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/plugins/osm/OsmDownloadDlg.py b/python/plugins/osm/OsmDownloadDlg.py index faf8307ac3b..75e3856b6ee 100755 --- a/python/plugins/osm/OsmDownloadDlg.py +++ b/python/plugins/osm/OsmDownloadDlg.py @@ -325,7 +325,7 @@ class OsmDownloadDlg(QDialog, Ui_OsmDownloadDlg): if self.finished: return - prefix=QString("/tmp/") + prefix=QDir.tempPath() + "/" if self.dbm.currentKey: key=QString(self.dbm.currentKey) p=key.lastIndexOf("/")