From 74568f03144b5de78039a2a5d0c713687e588de1 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Wed, 15 Jan 2014 09:30:44 +0100 Subject: [PATCH] In Qt5 reset() is depricated. Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- qt-ui/models.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp index b981793fb..2d01adfb4 100644 --- a/qt-ui/models.cpp +++ b/qt-ui/models.cpp @@ -1558,7 +1558,8 @@ void TablePrintModel::insertRow(int index) void TablePrintModel::callReset() { - reset(); + beginResetModel(); + endResetModel(); } QVariant TablePrintModel::data(const QModelIndex &index, int role) const