Fixed an issue in the download item related to Qt5. 6_1_x

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 24 Feb 2016 20:28:12 +0100
branch
6_1_x
changeset 4770
07bb802753a2
parent 4764
429cc4f5893a
child 4777
4e5b185f7bf2

Fixed an issue in the download item related to Qt5.

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