mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -1577,7 +1577,8 @@ void TablePrintModel::insertRow(int index)
|
||||||
|
|
||||||
void TablePrintModel::callReset()
|
void TablePrintModel::callReset()
|
||||||
{
|
{
|
||||||
reset();
|
beginResetModel();
|
||||||
|
endResetModel();
|
||||||
}
|
}
|
||||||
|
|
||||||
QVariant TablePrintModel::data(const QModelIndex &index, int role) const
|
QVariant TablePrintModel::data(const QModelIndex &index, int role) const
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue