diff options
-rw-r--r-- | src/plugins/accessible/widgets/qaccessiblemenu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/accessible/widgets/qaccessiblemenu.cpp b/src/plugins/accessible/widgets/qaccessiblemenu.cpp index 2ec3d26..03e1438 100644 --- a/src/plugins/accessible/widgets/qaccessiblemenu.cpp +++ b/src/plugins/accessible/widgets/qaccessiblemenu.cpp @@ -623,7 +623,7 @@ QAccessible::State QAccessibleMenuItem::state(int child ) const s = Normal; QWidget *own = owner(); - if (own && own->testAttribute(Qt::WA_WState_Visible) == false || m_action->isVisible() == false) { + if (own && (own->testAttribute(Qt::WA_WState_Visible) == false || m_action->isVisible() == false)) { s |= Invisible; } |