On Wed, 25 Nov 2009 10:03:58 +0100, Marcos Dione <[email protected]> wrote: > On Tue, Nov 24, 2009 at 01:15:10PM -0700, Matt Newell wrote: >> On Monday 23 November 2009 13:53:09 Marcos Dione wrote: >> > I think the backtrace is eloquent enough: >> > >> > --- traceback --- >> > Traceback (most recent call last): >> > File >> > "/home/mdione/src/projects/satyr/collection-agregator/satyr/models.py", >> > line 97, in addSongs sender= QObject.sender () >> > TypeError: first argument of unbound method QObject.sender() must be a >> > QObject instance >> > --- traceback --- >> >> It's a member function so it needs the instance. Usually that means >> calling >> self.sender(). > > but the original qt function is a class method.
No it isn't. Phil _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
