Repaired handling of SVG item insert

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1072744 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent 56a45f537a
commit 6f6eb6ae3e

@ -94,11 +94,7 @@ public:
T *insertItemBefore(T *newItem, unsigned int index)
{
if (index < m_vector.size()) {
m_vector.insert(index, newItem);
} else {
m_vector.append(newItem);
}
m_impl.insert(index, newItem);
return newItem;
}

Loading…
Cancel
Save