summaryrefslogtreecommitdiff
path: root/misc/qbrew/files/patch-src_hopmodel.cpp
diff options
context:
space:
mode:
authorAdriaan de Groot <adridg@FreeBSD.org>2018-11-26 21:20:37 +0000
committerAdriaan de Groot <adridg@FreeBSD.org>2018-11-26 21:20:37 +0000
commit8991d8b753dd40d8094f5c255c420363f205239b (patch)
treee336e7811ab07663f2dc1ee88baa3044a65fdac9 /misc/qbrew/files/patch-src_hopmodel.cpp
parentnet/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.cpp14
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();
+ }
+
+ //////////////////////////////////////////////////////////////////////////////