diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-11-20 14:26:47 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-11-20 17:23:42 +0000 |
commit | 67398f037ebf9b36b88e870998eea5918832db2c (patch) | |
tree | 5e16e2d1dca676dc865aafe04bdc1c86e92d929a /src/templates/qquickcontrol_p.h | |
parent | 6ca831b18f361924cab39b65d1a1e8b31e60b3fc (diff) |
Fix accessibility initialization
If accessibility is already enabled at construction time, QQuickControl
does not get a notification of accessibility activation change. This
patch fixes the issue that the attached property object was not created
at all, by calling accessibilityActiveChange(true) when appropriate at
component completion.
Change-Id: I5d763d66c97a540687b217b8ae453d073f6bfdb4
Task-number: QTBUG-49361
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
Diffstat (limited to 'src/templates/qquickcontrol_p.h')
-rw-r--r-- | src/templates/qquickcontrol_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/templates/qquickcontrol_p.h b/src/templates/qquickcontrol_p.h index d5024bae..82b91343 100644 --- a/src/templates/qquickcontrol_p.h +++ b/src/templates/qquickcontrol_p.h @@ -138,6 +138,7 @@ Q_SIGNALS: protected: QQuickControl(QQuickControlPrivate &dd, QQuickItem *parent); + void componentComplete() Q_DECL_OVERRIDE; void itemChange(ItemChange change, const ItemChangeData &value) Q_DECL_OVERRIDE; void mousePressEvent(QMouseEvent *event) Q_DECL_OVERRIDE; |