Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-117872

Alternate order for connect() lambda function parameters

XMLWordPrintable

      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.

        For Gerrit Dashboard: QTBUG-117872
        # Subject Branch Project Status CR V

            vhilshei Volker Hilsheimer
            kevin.zhang Kevin Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There is 1 open Gerrit change