Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.9.2
-
None
Description
When using type-safe connect() methods (taking functors), the default values for parameters are not taken into account when looking at signal-slot compatibility, e.g.
void someSlot(int a, int b = 0);
void someSignal(int s);
There should not be a problem connecting this signal to slot, and it's possible using the old SIGNAL() and SLOT() macros. When using the type-safe versions:
The slot requires more arguments than the signal provides.