Fix build with -no-feature-lineedit
Change-Id: I171aed5d134db88f211da0e1a6ce236e32f3c35c Reviewed-by: Lars Knoll <lars.knoll@qt.io>bb10
parent
798ed169d8
commit
0d3b3534ee
|
|
@ -81,10 +81,14 @@ QAbstractSpinBox *QAccessibleAbstractSpinBox::abstractSpinBox() const
|
|||
|
||||
QAccessibleInterface *QAccessibleAbstractSpinBox::lineEditIface() const
|
||||
{
|
||||
#if QT_CONFIG(lineedit)
|
||||
// QAccessibleLineEdit is only used to forward the text functions
|
||||
if (!lineEdit)
|
||||
lineEdit = new QAccessibleLineEdit(abstractSpinBox()->lineEdit());
|
||||
return lineEdit;
|
||||
#else
|
||||
return nullptr;
|
||||
#endif
|
||||
}
|
||||
|
||||
QString QAccessibleAbstractSpinBox::text(QAccessible::Text t) const
|
||||
|
|
|
|||
Loading…
Reference in New Issue