Fixed a strange warning message from Qt.

Sun, 21 Nov 2010 13:23:22 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 21 Nov 2010 13:23:22 +0100
changeset 733
a7fdfe0b9222
parent 730
772666a0a05d
child 734
dbdca9e6b46c

Fixed a strange warning message from Qt.

Documentation/Help/source.qch file | annotate | diff | comparison | revisions
UI/UserInterface.py file | annotate | diff | comparison | revisions
Binary file Documentation/Help/source.qch has changed
--- a/UI/UserInterface.py	Fri Nov 19 19:32:32 2010 +0100
+++ b/UI/UserInterface.py	Sun Nov 21 13:23:22 2010 +0100
@@ -195,6 +195,7 @@
             restart (list of strings)
         """
         QMainWindow.__init__(self)
+        self.setAttribute(Qt.WA_DeleteOnClose)
         
         self.__restartArgs = restartArguments[:]
         

eric ide

mercurial