fix: Fix LeftJoinModel tests on Qt 5.15.8

This commit is contained in:
Alex Jbanca 2023-11-23 10:11:31 +02:00 committed by Alex Jbanca
parent 9a714cfec0
commit f96460ead7
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,8 @@ public:
int rowCount(const QModelIndex& parent) const override
{
if(parent.isValid()) return 0; //no children
assert(m_data.size());
return m_data.first().second.size();
}