From 781b99170ce407bf64fe97c2c2e96149b774880a Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Wed, 15 Jan 2014 09:30:44 +0100 Subject: 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 82aa3126d..63b97ad19 100644 --- a/qt-ui/models.cpp +++ b/qt-ui/models.cpp @@ -1577,7 +1577,8 @@ void TablePrintModel::insertRow(int index) void TablePrintModel::callReset() { - reset(); + beginResetModel(); + endResetModel(); } QVariant TablePrintModel::data(const QModelIndex &index, int role) const -- cgit v1.2.3-70-g09d2