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

Qt::UniqueConnection warning from clazy

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 12.0.0-beta1, Qt Creator 12.0.2
    • All

    Description

      In Qt Creator for my code

      connect(timer, &QTimer::timeout, this, &Rial::Callback1, static_cast<Qt::ConnectionType>(Qt::AutoConnection | Qt::SingleShotConnection | Qt::UniqueConnection));
      

      I get warning from clazy "UniqueConnection is not supported with non-member functions [clazy-lambda-unique-connection]", details

      Why? Is it problem on Qt Creator side or KDE?

      This is my full code.

      Attachments

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

        Activity

          People

            iamsergio Sergio Martins
            dungeonlords Andrei Cherniaev
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes