Helpviewer/Download/DownloadItem.py

changeset 3910
bca7a5a00145
parent 3788
195dd519bf29
child 4021
195a471c327b
equal deleted inserted replaced
3909:354f4f62d507 3910:bca7a5a00145
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.storageLocations( 215 tempLocation = QStandardPaths.storageLocation(
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