pyqt  

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

Phil Thompson
Mon, 08 Feb 2010 10:06:18 -0800

On Mon, 8 Feb 2010 18:46:59 +0100, Albert Cervera i Areny
<alb...@nan-tic.com> wrote:
> 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?

Upgrading from what version?

Do you have a script that demonstrates the problem? My test suite covers
that case and passes.

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