[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Mon Aug 8 03:53:25 UTC 2005
SVN commit 444005 by okellogg:
BUG:110397 - mouseMoveEvent(): Check m_pLink for NULL before dereferencing.
Gee, I wish all things were as simple as this. 110216 is making me cry...
M +2 -1 floatingtext.cpp
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/floatingtext.cpp #444004:444005
@@ -304,7 +304,8 @@
int newX = newPosition.x();
int newY = newPosition.y();
- m_pLink->constrainTextPos(newX, newY, width(), height(), m_Role);
+ if (m_pLink)
+ m_pLink->constrainTextPos(newX, newY, width(), height(), m_Role);
m_nOldX = newX;
m_nOldY = newY;
setX( newX );
More information about the umbrello-devel
mailing list