8991d8b753
This was discussed over email with David. Upstream is unmaintained, but it works with these minor patches.
14 lines
328 B
C++
14 lines
328 B
C++
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();
|
|
}
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|