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

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 31 Jan 2014 11:00:24 +0100
changeset 3236
92e15257b24e
parent 3235
2b8f173b35bb
child 3238
fa28dab59a9e

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

Helpviewer/HelpWindow.py file | annotate | diff | comparison | revisions
diff -r 2b8f173b35bb -r 92e15257b24e 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