diff options
author | Anton Lundin <glance@acc.umu.se> | 2014-01-15 09:30:44 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-15 15:52:51 +0700 |
commit | 781b99170ce407bf64fe97c2c2e96149b774880a (patch) | |
tree | f9a0f66b320874c9298812283f5a202969a914fa /qt-ui/models.cpp | |
parent | 1c0c516b4296b5c5fb5a0c132f57889fce0a2423 (diff) | |
download | subsurface-781b99170ce407bf64fe97c2c2e96149b774880a.tar.gz |
In Qt5 reset() is depricated.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/models.cpp')
-rw-r--r-- | qt-ui/models.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 |