Added an empty destructor to the HelpWindow class to get rid of some Qt message. 5_4_x

Fri, 31 Jan 2014 11:00:24 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 31 Jan 2014 11:00:24 +0100
branch
5_4_x
changeset 3237
062e7224e5be
parent 3234
89cd38c296b6
child 3239
518f6dcb88e4

Added an empty destructor to the HelpWindow class to get rid of some Qt message.
(grafted from 92e15257b24edfd69d82eb580f06f08e41083f0e)

Helpviewer/HelpWindow.py file | annotate | diff | comparison | revisions
diff -r 89cd38c296b6 -r 062e7224e5be Helpviewer/HelpWindow.py
--- a/Helpviewer/HelpWindow.py	Fri Jan 31 10:53:02 2014 +0100
+++ b/Helpviewer/HelpWindow.py	Fri Jan 31 11:00:24 2014 +0100
@@ -280,7 +280,17 @@
                     QTimer.singleShot(0, self.__searchForWord)
             
             QTimer.singleShot(0, syncMgr.loadSettings)
-
+    
+    def __del__(self):
+        """
+        Special method called during object destruction.
+        
+        Note: This empty variant seems to get rid of the Qt message
+        'Warning: QBasicTimer::start: QBasicTimer can only be used with
+        threads started with QThread'
+        """
+        pass
+    
     def __setIconDatabasePath(self, enable=True):
         """
         Private method to set the favicons path.

eric ide

mercurial