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
1c0c516b42
commit
781b99170c
@ -1577,7 +1577,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