Fix warnings for -no-feature-combobox
Change-Id: I352c011b21624ae9fb9db5a608e8c2b2491a05cd Reviewed-by: Stephan Binner <stephan.binner@basyskom.com> Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>bb10
parent
d9fe00e8e2
commit
b7febc35da
|
|
@ -732,6 +732,8 @@ void QPixmapStyle::drawLineEdit(const QStyleOption *option,
|
|||
#if QT_CONFIG(combobox)
|
||||
if (widget && qobject_cast<const QComboBox*>(widget->parentWidget()))
|
||||
return;
|
||||
#else
|
||||
Q_UNUSED(widget);
|
||||
#endif
|
||||
const bool enabled = option->state & State_Enabled;
|
||||
const bool focused = option->state & State_HasFocus;
|
||||
|
|
|
|||
Loading…
Reference in New Issue