Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 1.3.0 rc1
-
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.