summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qabstractspinbox.h
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2014-06-27 13:23:01 +0200
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2014-08-19 14:23:13 +0200
commit41f496cb7f63da012f73bfe7904c225e91d300da (patch)
tree1d2d6514ee86e2fd6a4d596450478f679178eeaf /src/widgets/widgets/qabstractspinbox.h
parentcf621f1b9e472d394bcab922d0a1a205bc539b02 (diff)
Accessibility: QSpinBox should not have any children
On both iOS and Android it is very confusing to be able to move the focus to both, the line edit and the outer frame that is the spin box. For Linux this fixes an issue that orca would not read the value correctly after pressing the up/down buttons. Task-number: QTBUG-39861 Task-number: QTBUG-39442 Change-Id: I73c50c91e9021324c52d168d537afd0ea719a48f Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
Diffstat (limited to 'src/widgets/widgets/qabstractspinbox.h')
-rw-r--r--src/widgets/widgets/qabstractspinbox.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/widgets/qabstractspinbox.h b/src/widgets/widgets/qabstractspinbox.h
index 7989000cc8..5009e4151f 100644
--- a/src/widgets/widgets/qabstractspinbox.h
+++ b/src/widgets/widgets/qabstractspinbox.h
@@ -170,6 +170,7 @@ private:
Q_DECLARE_PRIVATE(QAbstractSpinBox)
Q_DISABLE_COPY(QAbstractSpinBox)
+ friend class QAccessibleAbstractSpinBox;
};
Q_DECLARE_OPERATORS_FOR_FLAGS(QAbstractSpinBox::StepEnabled)