Helpviewer/HelpWindow.py

changeset 3236
92e15257b24e
parent 3201
0f115f6db6cb
child 3345
071afe8be2a1
--- 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