[PyQt] PyQt 4.7 doesn't handle signals with empty parameters "()"

Albert Cervera i Areny albert at nan-tic.com
Mon Feb 8 17:46:59 GMT 2010


Hi,
after upgrading my system to PyQt 4.7 some things of my application stopped 
behaving as they used to do. I eventually found out that I had some signals 
connected and emited like this:

self.connect( object, SIGNAL('modified()'), self.slot )
self.emit( SIGNAL('modified()') )

These, no longer worked, but using:

self.connect( object, SIGNAL('modified'), self.slot )
self.emit( SIGNAL('modified') )

solved the problem. 

I don't think that change was intended, was it?

-- 
Albert Cervera i Areny
http://www.NaN-tic.com
Mòbil: +34 669 40 40 18


More information about the PyQt mailing list