aboutsummaryrefslogtreecommitdiffstats
path: root/misc/qbrew/files/patch-src_grainmodel.cpp
blob: 01bcb57ed089a99737c9c59e1c5347bc32aa956d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
QAbstractItemModel API change

--- src/grainmodel.cpp.orig	2018-11-26 11:49:13 UTC
+++ src/grainmodel.cpp
@@ -38,7 +38,8 @@ GrainModel::~GrainModel(){}
 
 void GrainModel::flush()
 {
-    reset();
+    beginResetModel();
+    endResetModel();
 }
 
 //////////////////////////////////////////////////////////////////////////////