Helpviewer/Download/DownloadItem.py

changeset 3788
195dd519bf29
parent 3778
0c5bc18da740
child 3910
bca7a5a00145
equal deleted inserted replaced
3787:d7bb01f8e083 3788:195dd519bf29
210 return 210 return
211 211
212 self.__autoOpen = dlg.getAction() == "open" 212 self.__autoOpen = dlg.getAction() == "open"
213 if PYQT_VERSION_STR >= "5.0.0": 213 if PYQT_VERSION_STR >= "5.0.0":
214 from PyQt5.QtCore import QStandardPaths 214 from PyQt5.QtCore import QStandardPaths
215 tempLocation = QStandardPaths.storageLocation( 215 tempLocation = QStandardPaths.storageLocations(
216 QStandardPaths.TempLocation) 216 QStandardPaths.TempLocation)
217 else: 217 else:
218 from PyQt5.QtGui import QDesktopServices 218 from PyQt5.QtGui import QDesktopServices
219 tempLocation = QDesktopServices.storageLocation( 219 tempLocation = QDesktopServices.storageLocation(
220 QDesktopServices.TempLocation) 220 QDesktopServices.TempLocation)

eric ide

mercurial