[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Sat Jul 14 02:45:48 UTC 2007
SVN commit 687613 by okellogg:
setPoint(): Ignore request for (0,0).
M +4 -0 linepath.cpp
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/linepath.cpp #687612:687613
@@ -106,6 +106,10 @@
int count = m_LineList.count();
if( count == 0 || pointIndex > count || pointIndex < 0)
return false;
+ if (point.x() == 0 && point.y() == 0) {
+ kError() << "LinePath::setPoint:ignoring request for (0,0)" << endl;
+ return false;
+ }
if( pointIndex == count) {
QCanvasLine * line = m_LineList.last();
More information about the umbrello-devel
mailing list