Details
-
Suggestion
-
Resolution: Won't Do
-
P5: Not important
-
None
-
None
Description
The current order of connect parameters when calling a lambda function are
QObject::connect(source, signal, slotContext, method, connectionType);
In the case where the lambda function is particularly long, this results in the connectionType being significantly disconnected visually from the other parameters for connect().
This suggestion is to reorder the parameters provided, most likely as an alternate option, such that connectionType comes before method.
Attachments
For Gerrit Dashboard: QTBUG-117872 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
517681,6 | New overload for connect improving readability with lambda functions | dev | qt/qtbase | Status: NEW | -2 | 0 |