diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2020-04-28 08:42:08 +0200 |
---|---|---|
committer | Peter Varga <pvarga@inf.u-szeged.hu> | 2020-05-11 09:48:03 +0000 |
commit | 1f919391eee10e888a811ff1cd8676f55ca78692 (patch) | |
tree | 1be01298d457fa2a1a8c1cc2e3a74572fe396dbc /src/quicktemplates2/qquickcombobox.cpp | |
parent | 7c873b0a5866802afce6d6562c37f227a258d2fe (diff) |
Fix -no-accessibility build
Change-Id: Icbae79fd0f48fb9351ee8cc12b35ead7e99b09e2
Pick-to: 5.15
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickcombobox.cpp')
-rw-r--r-- | src/quicktemplates2/qquickcombobox.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickcombobox.cpp b/src/quicktemplates2/qquickcombobox.cpp index eb1a7be8..f55aabb6 100644 --- a/src/quicktemplates2/qquickcombobox.cpp +++ b/src/quicktemplates2/qquickcombobox.cpp @@ -789,10 +789,12 @@ void QQuickComboBoxPrivate::hideOldPopup(QQuickPopup *popup) popup->setVisible(false); popup->setParentItem(nullptr); +#if QT_CONFIG(accessibility) // Remove the item from the accessibility tree. QQuickAccessibleAttached *accessible = accessibleAttached(popup); if (accessible) accessible->setIgnored(true); +#endif } QQuickComboBox::QQuickComboBox(QQuickItem *parent) |