pyqt  

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

Albert Cervera i Areny
Mon, 08 Feb 2010 09:50:46 -0800

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
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt