Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-20840

Provide better code completion for new-style connection

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 4.7.0
    • C/C++/Obj-C++ Support
    • None

      I just did some new-style connections and thought that the code completion could provide more help here:

      auto thread = new QThread;
      connect(thread, // at this point, only &QThread:: members makes sense. However,
                      // I have to type "&QThread::" myself to get the member list.
                      // The same applies to the slot.

      And even after the &QThread:: prefix is written, I'd expect signals in first place, but I get all member functions here.

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

            yvvan Ivan Donchevskii
            aha_1980 André Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes