From 8991d8b753dd40d8094f5c255c420363f205239b Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 26 Nov 2018 21:20:37 +0000 Subject: 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. --- misc/qbrew/files/patch-src_hopmodel.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 misc/qbrew/files/patch-src_hopmodel.cpp (limited to 'misc/qbrew/files/patch-src_hopmodel.cpp') 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(); + } + + ////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3