[PyQt] PyQt 4.7 doesn't handle signals with empty parameters "()"
Phil Thompson
phil at riverbankcomputing.com
Mon Feb 8 18:06:05 GMT 2010
On Mon, 8 Feb 2010 18:46:59 +0100, Albert Cervera i Areny
<albert at 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
More information about the PyQt
mailing list