on second thought, I think that PyQt looks at the signature of the slot and tries to match the signal and slot with the same signature.
it raises an exception at connection time when this match fails. so this seems to be a very different behavior in PySide where the connect succeeds but the failure is later on when the signal is emitted ? On Mon, Jul 25, 2011 at 12:16 AM, Sebastian Wiesner <[email protected]> wrote: > 2011/7/24 Erik Janssens <[email protected]>: >> this code always worked perfectly with PyQt. I had the assumption that >> a default argument in a signal would be treated the same way as in >> Python, this assumption always seemed valid using PyQt > > I guess, PyQt just chooses the other overload as default if no > overload was explicity selected. Since you can always use slots with > less arguments than the signal (in which case superfluous arguments > are simply thrown away during invocation of the slot) it makes no > difference in this case. > _______________________________________________ PySide mailing list [email protected] http://lists.pyside.org/listinfo/pyside
