Helpviewer/Download/DownloadItem.py

changeset 4771
5fb66766e4eb
parent 4631
5c1a96925da4
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