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 21655131c9
commit 74568f0314

View File

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