0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-23 16:22:58 +03:00

Fix: lrcompletermodel.h -> child(int row)

This commit is contained in:
Dmitry Zagorodnev 2023-03-09 15:32:48 +03:00
parent de850125aa
commit fede9963be

View File

@ -13,7 +13,7 @@ public:
~CompleterItem(); ~CompleterItem();
int rowCount() const {return m_children.count();} int rowCount() const {return m_children.count();}
CompleterItem *child(int row) const { CompleterItem *child(int row) const {
return m_children.count() < row ? m_children.at(row).data() : nullptr; return m_children.count() > row ? m_children.at(row).data() : nullptr;
} }
CompleterItem* parent() const {return m_parent;} CompleterItem* parent() const {return m_parent;}
int row() const{ int row() const{