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

--- src/stylemodel.cpp.orig	2018-11-26 11:58:44 UTC
+++ src/stylemodel.cpp
@@ -34,7 +34,8 @@ StyleModel::~StyleModel(){}
 
 void StyleModel::flush()
 {
-    reset();
+    beginResetModel();
+    endResetModel(); 
 }
 
 //////////////////////////////////////////////////////////////////////////////