Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Fix wrong const breaking compile

parent 69130c00
......@@ -118,7 +118,7 @@ void TreeItem::moveChild(int ix, std::shared_ptr<TreeItem> child)
child->m_parentItem = shared_from_this();
qDebug() << "appending child2" << child->getId() << "to " << m_id;
int id = child->getId();
auto pos = m_childItems.cbegin();
auto pos = m_childItems.begin();
std::advance(pos, ix);
auto it = m_childItems.insert(pos, child);
m_iteratorTable[id] = it;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment