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

(VISTA) Attempting to auto-complete a base class type in the class interface causes Creator to hang

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 1.3.0
    • Qt Creator 1.3.0 rc1
    • Editors
    • None
    • 69969bef43f8077b7402e46bfc9a1765ad6afd7d

    Description

      I have the following code:

      #include <QGraphicsItem>
      #include <QPersistentModelIndex>
      
      class GraphicsAdaptor;
      
      struct AdaptorItemInterface : public QGraphicsItem
      {
      	AdaptorItemInterface() :
      		m_gfxAdaptor(0)
      	{}
      
      	void setGfxAdaptor(GraphicsAdaptor *gfxAdaptor)		{ m_gfxAdaptor = gfxAdaptor; }
      	void setPersistantIndex(QPersistentModelIndex index)	{ m_persistantIndex = index; }
      	QPersistentModelIndex persistantIndex() const			{ return m_persistantIndex; }
      protected:
      	GraphicsAdaptor *m_gfxAdaptor;
      	QPersistentModelIndex m_persistantIndex;
      };
      

      If I position the cursor on the end of QGraphicsItem and hit (open bracket) as though I was attempting to access the constructor prototype, Creator will hang and must be killed.

      Attachments

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

        Activity

          People

            lindeije Thorbjørn Lindeijer (closed Nokia identity) (Inactive)
            danny77uk Daniel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes