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

Alternate order for connect() lambda function parameters

    XMLWordPrintable

Details

    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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change