Extended the fix for UserInterface including @pyqtSlot() decorator due to some PyQr5 quirkyness. 6_0_x

Sat, 04 Apr 2015 16:05:57 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 04 Apr 2015 16:05:57 +0200
branch
6_0_x
changeset 4198
417706a8fddb
parent 4196
e4016f53ad26
child 4199
81833aff8ce7

Extended the fix for UserInterface including @pyqtSlot() decorator due to some PyQr5 quirkyness.
(grafted from 43199b5d5cfe33056fc53108e7af4c15bbeec13a)

UI/UserInterface.py file | annotate | diff | comparison | revisions
--- a/UI/UserInterface.py	Tue Mar 31 18:52:04 2015 +0200
+++ b/UI/UserInterface.py	Sat Apr 04 16:05:57 2015 +0200
@@ -5889,9 +5889,10 @@
         reply.finished.connect(self.__versionsDownloadDone)
         self.__replies.append(reply)
         
+    @pyqtSlot()
     def __versionsDownloadDone(self):
         """
-        Private method called, after the versions file has been downloaded
+        Private slot called, after the versions file has been downloaded
         from the internet.
         """
         if self.__versionCheckCanceled:
@@ -6053,9 +6054,10 @@
         if url:
             QDesktopServices.openUrl(QUrl(url))
         
+    @pyqtSlot()
     def __versionsDownloadCanceled(self):
         """
-        Private method called to cancel the version check.
+        Private slot called to cancel the version check.
         """
         if self.__replies:
             self.__versionCheckCanceled = True

eric ide

mercurial