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

SOFT ASSERT: "objectPointerExpressions.size() == 1" in file cppquickfixes.cpp, line 5697 when trying to convert to Qt 5 : Signals/Slot connection

XMLWordPrintable

    • 11a7ccb8651565945c4ca86e7a71412437a97723 (qt-creator/qt-creator/4.13)

      Open Qt Designer (qttools/src/designer/src/src.pro , dev), open file qttools/src/designer/src/components/buddyeditor/buddyeditor_plugin.cpp:98 , press ALT-Enter on line

      connect(m_action, SIGNAL(triggered()), tool->action(), SLOT(trigger()));
      
      • Note only "Convert to local variable" is offered, and warnings occur:
      SOFT ASSERT: "objectPointerExpressions.size() == 1" in file cppquickfixes.cpp, line 5697
      SOFT ASSERT: "objectClass" in file cppquickfixes.cpp, line 5748
      

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

            kandeler Christian Kandeler
            kleint Friedemann Kleint
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes