[Uml-devel] KDE/kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Wed Feb 15 21:03:32 UTC 2012
SVN commit 1280255 by okellogg:
UMLListView::findView(): During load, a NULL return value is quite normal.
Reduce uWarning() to DEBUG() in this case.
M +5 -2 umllistview.cpp
--- trunk/KDE/kdesdk/umbrello/umbrello/umllistview.cpp #1280254:1280255
@@ -1246,8 +1246,11 @@
return foundItem;
}
}
- uWarning() << "returning 0";
- DEBUG(DBG_SRC) << "but was looking for " << *item;
+ if (m_doc->loading()) {
+ DEBUG(DBG_SRC) << "could not find " << v->name() << " in " << *item;
+ } else {
+ uWarning() << "could not find " << v->name() << " in " << *item;
+ }
return 0;
}
More information about the umbrello-devel
mailing list