Fixed build on MSVC

This commit is contained in:
Matthias Koefferlein 2019-09-08 21:45:34 +02:00
parent 77232f8a50
commit 48a13162d8
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: