diff options
| author | Adriaan de Groot <adridg@FreeBSD.org> | 2018-11-26 21:20:37 +0000 |
|---|---|---|
| committer | Adriaan de Groot <adridg@FreeBSD.org> | 2018-11-26 21:20:37 +0000 |
| commit | 8991d8b753dd40d8094f5c255c420363f205239b (patch) | |
| tree | e336e7811ab07663f2dc1ee88baa3044a65fdac9 /misc/qbrew/files/patch-src_hopmodel.cpp | |
| parent | net/qt5-network: fix build with LibreSSL (diff) | |
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.
Notes
Notes:
svn path=/head/; revision=485966
Diffstat (limited to 'misc/qbrew/files/patch-src_hopmodel.cpp')
| -rw-r--r-- | misc/qbrew/files/patch-src_hopmodel.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/misc/qbrew/files/patch-src_hopmodel.cpp b/misc/qbrew/files/patch-src_hopmodel.cpp new file mode 100644 index 000000000000..01f8bb42a8a6 --- /dev/null +++ b/misc/qbrew/files/patch-src_hopmodel.cpp @@ -0,0 +1,14 @@ +QAbstractItemModel API change + +--- src/hopmodel.cpp.orig 2018-11-26 11:54:52 UTC ++++ src/hopmodel.cpp +@@ -34,7 +34,8 @@ HopModel::~HopModel() {} + + void HopModel::flush() + { +- reset(); ++ beginResetModel(); ++ endResetModel(); + } + + ////////////////////////////////////////////////////////////////////////////// |
