Comment 0 for bug 1076230

Revision history for this message
Serhiy (xintx-ua) wrote :

=== modified file 'Window.py'
--- Window.py 2012-11-08 05:13:17 +0000
+++ Window.py 2012-11-08 05:13:33 +0000
@@ -20,6 +20,7 @@
         file = QFile(uidir.path() + "/camel_case_nameWindow.ui")
         file.open(QFile.ReadOnly)
         centralwidget = loader.load(file, self)
+ file.close()
         centralwidget.setWindowFlags(Qt.Widget)
         self.setCentralWidget(centralwidget)