mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
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:
parent
0cc8d08005
commit
7243486afc
@ -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("/")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user