Fix compilation with QT_NO_ACCESSIBILITY.
Task-number: QTBUG-27860 Change-Id: If3b17e7c5dcba69c351025d97c7ab43498c9dcda Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
This commit is contained in:
parent
17501e09b9
commit
8b29c7539d
@ -520,7 +520,11 @@ void QWindowsVistaStyle::drawPrimitive(PrimitiveElement element, const QStyleOpt
|
||||
}
|
||||
break;
|
||||
case PE_Frame: {
|
||||
#ifndef QT_NO_ACCESSIBILITY
|
||||
if (QStyleHelper::isInstanceOf(option->styleObject, QAccessible::EditableText)) {
|
||||
#else
|
||||
if (false) {
|
||||
#endif
|
||||
painter->save();
|
||||
int stateId = ETS_NORMAL;
|
||||
if (!(state & State_Enabled))
|
||||
|
Loading…
Reference in New Issue
Block a user