[umbrello-devel] [umbrello] [Bug 334518] Umbrello was been suddenly closed after choosing 'Add point' from pop-up showed after clicking point on line.

Ralf Habacker ralf.habacker at freenet.de
Fri May 9 16:47:47 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=334518

Ralf Habacker <ralf.habacker at freenet.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ralf.habacker at freenet.de
   Version Fixed In|                            |4.12.0
         Resolution|---                         |FIXED

--- Comment #1 from Ralf Habacker <ralf.habacker at freenet.de> ---
>#7 0x000000000066722a in AssociationLine::isPoint (this=<optimized out>, index=index at entry=-1, point=..., delta=delta at entry=5) at ../../umbrello/widgets/associationline.cpp:386

The backtrace indicates a -1 a point index which is not been catched in the
related code below.  

bool AssociationLine::isPoint(int index, const QPointF &point, unsigned short
delta)
{
    int count = m_LineList.count();
    if (index >= count)
        return false;

!!!!    QGraphicsLineItem* line = m_LineList.at(index);

This bug has been fixed in 4.12.0

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list