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:
Anton Lundin 2014-01-15 09:30:44 +01:00 committed by Dirk Hohndel
parent 1c0c516b42
commit 781b99170c

View file

@ -1577,7 +1577,8 @@ void TablePrintModel::insertRow(int index)
void TablePrintModel::callReset()
{
reset();
beginResetModel();
endResetModel();
}
QVariant TablePrintModel::data(const QModelIndex &index, int role) const