[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Sun Oct 22 19:18:29 UTC 2006
SVN commit 598179 by okellogg:
loadChildrenFromXMI(): Fix printout of old parent in debug message about reparenting.
M +3 -1 umllistview.cpp
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/umllistview.cpp #598178:598179
@@ -2426,10 +2426,12 @@
// one of the default predefined folders, but the actual
// listview item might be located in a user created folder.
// Thanks to Achim Spangler for spotting the problem.
+ UMLListViewItem *itmParent = dynamic_cast<UMLListViewItem*>(item->parent());
+ kdDebug() << pfx << parent->getText() << " (" << parent << ") != "
+ << itmParent->getText() << " (" << itmParent << ")" << endl;
UMLListViewItem *newItem = moveObject(nID, lvType, parent);
item = newItem;
if (item) {
- UMLListViewItem *itmParent = dynamic_cast<UMLListViewItem*>(item->parent());
kdDebug() << pfx << "Attempted reparenting of " << item->getText()
<< "(current parent: " << (itmParent ? itmParent->getText() : "NULL")
<< ", new parent: " << parent->getText() << ")" << endl;
More information about the umbrello-devel
mailing list