summaryrefslogtreecommitdiffstats
path: root/calibre/build/patches/qt5.qtbug-77364.patch
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2019-10-23 09:33:38 +0000
committer Eric Hameleers <alien@slackware.com>2019-10-23 09:33:38 +0000
commit0a0bf9e3a514ec4614ace7fd19ddbd6cc73e076d (patch)
treef0df6f108121c6e26a0ca8615b7c52fe11b5f9f6 /calibre/build/patches/qt5.qtbug-77364.patch
parent0930c5a34d53cf2d3964998f5f9e4c710e09d3f9 (diff)
downloadasb-0a0bf9e3a514ec4614ace7fd19ddbd6cc73e076d.tar.gz
asb-0a0bf9e3a514ec4614ace7fd19ddbd6cc73e076d.tar.xz
Initial revision
Diffstat (limited to '')
-rw-r--r--calibre/build/patches/qt5.qtbug-77364.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/calibre/build/patches/qt5.qtbug-77364.patch b/calibre/build/patches/qt5.qtbug-77364.patch
new file mode 100644
index 00000000..088856c7
--- /dev/null
+++ b/calibre/build/patches/qt5.qtbug-77364.patch
@@ -0,0 +1,13 @@
+diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp
+index 04290a4ce1..27773d5762 100644
+--- a/src/widgets/kernel/qwidget.cpp
++++ b/src/widgets/kernel/qwidget.cpp
+@@ -6446,7 +6446,7 @@ void QWidget::setFocusProxy(QWidget * w)
+
+ if (changingAppFocusWidget) {
+ QWidget *newDeepestFocusProxy = d_func()->deepestFocusProxy();
+- QApplicationPrivate::focus_widget = newDeepestFocusProxy ? newDeepestFocusProxy : this;
++ QApplicationPrivate::setFocusWidget(newDeepestFocusProxy ? newDeepestFocusProxy : this, Qt::NoFocusReason);
+ }
+ }
+