Merge branch 'master' into dvb

This commit is contained in:
Matthias Koefferlein 2019-09-08 21:48:42 +02:00
commit 6eb049eecc
1 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ public:
if (parent.isValid ()) {
return QModelIndex ();
} else {
return createIndex (row, column, 0);
return createIndex (row, column);
}
}
@ -80,7 +80,7 @@ public:
void refresh ()
{
dataChanged (createIndex (0, 0, 0), createIndex (rowCount (QModelIndex ()), 1, 0));
dataChanged (createIndex (0, 0), createIndex (rowCount (QModelIndex ()), 1));
}
private: