I initiated a widget twice, by accident, and it caused some cpu issues
in windows when I close the program. I was wondering if there could be
an error/warning, because otherwise the program ran perfectly fine.

class MyWidget(QWidget):
    def __init__(self, parent=None):
        QWidget.__init__(self,parent)
        #some setup/layout
        QWidget.__init__(self,parent)
        #some setup/layout

Really it seems pretty dumb, but I can't image a practical use for the
double initiation.  

thanks
mbs

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to