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

Conversion to Qt5 connect doesn't work for "implicit" pointers

    XMLWordPrintable

Details

    • dbb9891f43291e3ffd015f3cc84d9389d01e170e

    Description

      #include <QAction>
      #include <QPointer>
      #include <QObject>
      
      class Class : public QObject
      {
          Q_OBJECT
      
      private slots:
          void slot() {}
      
          void func()
          {
              QPointer<QAction> action;
              connect(action, SIGNAL(triggered()), this, SLOT(slot()));
          }
      };

      Attachments

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

        Activity

          People

            orgads Orgad Shaneh
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes