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

False positive for Qt::UniqueConnection

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 12.0.1
    • None

    Description

      Code like

      connect(m_foo,
          &Foo::barChanged,
          this,
          &Baz::processChange,
          Qt::UniqueConnection);
      

      where this is Baz and processChange is a private slot of it produces

      UniqueConnection is not supported with non-member functions
      

      . Which looks like a false positive.

      Attachments

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

        Activity

          People

            iamsergio Sergio Martins
            cajus Cajus Pollmeier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes