summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qradiobutton.h
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2014-05-23 13:13:22 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-30 15:58:46 +0200
commite747324f68df827dcea15bd0e3ee6b023542fe01 (patch)
treedbc4aa3f49ad745ef92f80fa55ba4586057bf1e0 /src/widgets/widgets/qradiobutton.h
parentc040ba18aec6ef2b65d394e47b103fe14841dd88 (diff)
Accessibility: Fix rect for QComboBox and QRadioButton
This is especially relevant on mobile devices where screen readers often send mouse clicks to the middle of the object. Task-number: QTBUG-39100 Change-Id: I5972f21dd12434601d86136215ab9b61248c9691 Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
Diffstat (limited to 'src/widgets/widgets/qradiobutton.h')
-rw-r--r--src/widgets/widgets/qradiobutton.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/widgets/qradiobutton.h b/src/widgets/widgets/qradiobutton.h
index 104d4a12e0..8888ccf86d 100644
--- a/src/widgets/widgets/qradiobutton.h
+++ b/src/widgets/widgets/qradiobutton.h
@@ -73,6 +73,7 @@ protected:
private:
Q_DECLARE_PRIVATE(QRadioButton)
Q_DISABLE_COPY(QRadioButton)
+ friend class QAccessibleButton;
};
QT_END_NAMESPACE