Changed the focusChanged signal connections.

Sun, 05 Jun 2016 12:53:41 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 05 Jun 2016 12:53:41 +0200
changeset 4993
ebb8eaa326ba
parent 4990
2bca10fcfe80
child 4996
f20cbd676cdd

Changed the focusChanged signal connections.

E5Gui/E5SideBar.py file | annotate | diff | comparison | revisions
Helpviewer/HelpWindow.py file | annotate | diff | comparison | revisions
WebBrowser/WebBrowserWindow.py file | annotate | diff | comparison | revisions
diff -r 2bca10fcfe80 -r ebb8eaa326ba E5Gui/E5SideBar.py
--- a/E5Gui/E5SideBar.py	Fri Jun 03 19:59:32 2016 +0200
+++ b/E5Gui/E5SideBar.py	Sun Jun 05 12:53:41 2016 +0200
@@ -96,7 +96,7 @@
         
         self.__tabBar.currentChanged[int].connect(
             self.__stackedWidget.setCurrentIndex)
-        e5App().focusChanged[QWidget, QWidget].connect(self.__appFocusChanged)
+        e5App().focusChanged.connect(self.__appFocusChanged)
         self.__autoHideButton.toggled[bool].connect(self.__autoHideToggled)
     
     def setSplitter(self, splitter):
@@ -689,5 +689,4 @@
         properly. It disconnects from the focusChanged signal in order to
         avoid trouble later on.
         """
-        e5App().focusChanged[QWidget, QWidget].disconnect(
-            self.__appFocusChanged)
+        e5App().focusChanged.disconnect(self.__appFocusChanged)
diff -r 2bca10fcfe80 -r ebb8eaa326ba Helpviewer/HelpWindow.py
--- a/Helpviewer/HelpWindow.py	Fri Jun 03 19:59:32 2016 +0200
+++ b/Helpviewer/HelpWindow.py	Sun Jun 05 12:53:41 2016 +0200
@@ -299,8 +299,7 @@
                     QTimer.singleShot(0, self.__searchForWord)
             
             self.__lastActiveWindow = None
-            e5App().focusChanged[QWidget, QWidget].connect(
-                self.__appFocusChanged)
+            e5App().focusChanged.connect(self.__appFocusChanged)
             
             QTimer.singleShot(0, syncMgr.loadSettings)
     
diff -r 2bca10fcfe80 -r ebb8eaa326ba WebBrowser/WebBrowserWindow.py
--- a/WebBrowser/WebBrowserWindow.py	Fri Jun 03 19:59:32 2016 +0200
+++ b/WebBrowser/WebBrowserWindow.py	Sun Jun 05 12:53:41 2016 +0200
@@ -365,8 +365,7 @@
                     QTimer.singleShot(0, self.__searchForWord)
             
             self.__lastActiveWindow = None
-            e5App().focusChanged[QWidget, QWidget].connect(
-                self.__appFocusChanged)
+            e5App().focusChanged.connect(self.__appFocusChanged)
             
             QTimer.singleShot(0, syncMgr.loadSettings)
     

eric ide

mercurial