[vlc-commits] contribs: qt4: Fix QAccessibleTable::unselectColumn logic & build

Hugo Beauzée-Luyssen git at videolan.org
Wed Dec 7 11:02:01 CET 2016


vlc/vlc-2.2 | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Dec  7 10:45:32 2016 +0100| [2750a174c3679dcdfa031fe6a0f338b11489924b] | committer: Hugo Beauzée-Luyssen

contribs: qt4: Fix QAccessibleTable::unselectColumn logic & build

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=2750a174c3679dcdfa031fe6a0f338b11489924b
---

 contrib/src/qt4/itemviews.patch | 11 +++++++++++
 contrib/src/qt4/rules.mak       |  1 +
 2 files changed, 12 insertions(+)

diff --git a/contrib/src/qt4/itemviews.patch b/contrib/src/qt4/itemviews.patch
new file mode 100644
index 0000000..44f710f
--- /dev/null
+++ b/contrib/src/qt4/itemviews.patch
@@ -0,0 +1,11 @@
+--- qt4/src/plugins/accessible/widgets/itemviews.cpp.orig	2016-12-07 10:38:13.562018465 +0100
++++ qt4/src/plugins/accessible/widgets/itemviews.cpp	2016-12-07 10:38:19.150015850 +0100
+@@ -393,7 +393,7 @@
+     QModelIndex index = view()->model()->index(0, column, view()->rootIndex());
+     if (!index.isValid() || view()->selectionMode() & QAbstractItemView::NoSelection)
+         return false;
+-    view()->selectionModel()->select(index, QItemSelectionModel::Columns & QItemSelectionModel::Deselect);
++    view()->selectionModel()->select(index, QItemSelectionModel::Columns | QItemSelectionModel::Deselect);
+     return true;
+ }
+ 
diff --git a/contrib/src/qt4/rules.mak b/contrib/src/qt4/rules.mak
index 726fba2..4a72a61 100644
--- a/contrib/src/qt4/rules.mak
+++ b/contrib/src/qt4/rules.mak
@@ -27,6 +27,7 @@ qt4: qt-$(QT4_VERSION).tar.gz .sum-qt4
 	$(APPLY) $(SRC)/qt4/chroot.patch
 	$(APPLY) $(SRC)/qt4/imageformats.patch
 	$(APPLY) $(SRC)/qt4/win64.patch
+	$(APPLY) $(SRC)/qt4/itemviews.patch
 	$(MOVE)
 
 ifdef HAVE_MACOSX



More information about the vlc-commits mailing list