projects
/
family-shop-mgr
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
git-svn-id: file:///svnroot/family-shop-mgr@18 26eb2498-383b-47a6-be48-5d6f36779e85
[family-shop-mgr]
/
code
/
family-shop-mgr
/
ShoppingTreeModel.cpp
diff --git
a/code/family-shop-mgr/ShoppingTreeModel.cpp
b/code/family-shop-mgr/ShoppingTreeModel.cpp
index
20852e4
..
4a485e8
100644
(file)
--- a/
code/family-shop-mgr/ShoppingTreeModel.cpp
+++ b/
code/family-shop-mgr/ShoppingTreeModel.cpp
@@
-93,6
+93,7
@@
QAbstractItemModel(parent), m_document("ShoppingList")
}
\r
m_domElementForItem.insert(rootItem->child(rootItem->childCount() - 1),
\r
child);
\r
+ child = child.nextSiblingElement("item");
\r
}
\r
\r
QHashIterator<ShoppingTreeItem*,QDomElement> i(m_domElementForItem);
\r