In Qt5 reset() is depricated.
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
21655131c9
commit
74568f0314
@ -1558,7 +1558,8 @@ void TablePrintModel::insertRow(int index)
|
||||
|
||||
void TablePrintModel::callReset()
|
||||
{
|
||||
reset();
|
||||
beginResetModel();
|
||||
endResetModel();
|
||||
}
|
||||
|
||||
QVariant TablePrintModel::data(const QModelIndex &index, int role) const
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user