> On Fri Jun 25 13:20:11 BST 2010, F.A.Pinkse wrote:
> > I was looking inside the PyQt Examples source/phonon/musicplayer.pyw
> > using Eric5 on Python3
> > 
> > Eric found:
> > 
> > warning: variable declared but never used.
> > 
> >         source = self.metaInformationResolver.currentSource()
> > 
> > It is in line number 185
> 
> If source isn't used, and it seems that it isn't, then that line should
> just be removed from the example.

If you do this to the MainWindow, your application will crash.
AFAIK an object is deleted once no reference is being held, so I'd be careful 
with deleting that. I might be wrong though.

-Christoph
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to