fix temporary file generation when downloading from OSM

git-svn-id: http://svn.osgeo.org/qgis/trunk@11595 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
jef 2009-09-08 15:25:22 +00:00
parent 0cc8d08005
commit 7243486afc

View File

@ -325,7 +325,7 @@ class OsmDownloadDlg(QDialog, Ui_OsmDownloadDlg):
if self.finished: if self.finished:
return return
prefix=QString("/tmp/") prefix=QDir.tempPath() + "/"
if self.dbm.currentKey: if self.dbm.currentKey:
key=QString(self.dbm.currentKey) key=QString(self.dbm.currentKey)
p=key.lastIndexOf("/") p=key.lastIndexOf("/")