Fixed an issue in the download item related to Qt5.

Wed, 24 Feb 2016 20:28:12 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 24 Feb 2016 20:28:12 +0100
changeset 4771
5fb66766e4eb
parent 4765
475c5cbfc8f0
child 4775
05811a5a5eb5

Fixed an issue in the download item related to Qt5.
(grafted from 07bb802753a24bdf5425f232594eda413e54e4f3)

Helpviewer/Download/DownloadItem.py file | annotate | diff | comparison | revisions
--- 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