freebsd-ports/misc/qbrew/files/patch-src_stylemodel.cpp
Adriaan de Groot 8991d8b753 Port misc/qbrew away from Qt4 to Qt5. While at it, assume maintainership.
This was discussed over email with David. Upstream is unmaintained, but
it works with these minor patches.
2018-11-26 21:20:37 +00:00

14 lines
330 B
C++

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();
}
//////////////////////////////////////////////////////////////////////////////