Helpviewer/Download/DownloadItem.py

branch
6_1_x
changeset 4770
07bb802753a2
parent 4632
ca310db386ed
child 4830
f609a22f43bd
--- a/Helpviewer/Download/DownloadItem.py	Mon Feb 22 18:42:34 2016 +0100
+++ b/Helpviewer/Download/DownloadItem.py	Wed Feb 24 20:28:12 2016 +0100
@@ -213,8 +213,8 @@
             self.__autoOpen = dlg.getAction() == "open"
             if PYQT_VERSION_STR >= "5.0.0":
                 from PyQt5.QtCore import QStandardPaths
-                tempLocation = QStandardPaths.storageLocation(
-                    QStandardPaths.TempLocation)
+                tempLocation = QStandardPaths.standardLocations(
+                    QStandardPaths.TempLocation)[0]
             else:
                 from PyQt5.QtGui import QDesktopServices
                 tempLocation = QDesktopServices.storageLocation(

eric ide

mercurial