From f13ddea169d2dabb76903ed340bd8935792498c7 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Mon, 5 Mar 2012 13:51:22 +0100 Subject: Fixed missing parentheses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ic0a2f9bb6a1d59261240fc0de85d6db52974c964 Reviewed-by: João Abecasis Reviewed-by: Frederik Gladhorn --- src/plugins/accessible/widgets/itemviews.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/accessible/widgets/itemviews.cpp b/src/plugins/accessible/widgets/itemviews.cpp index 3235369..9ef764e 100644 --- a/src/plugins/accessible/widgets/itemviews.cpp +++ b/src/plugins/accessible/widgets/itemviews.cpp @@ -792,7 +792,7 @@ QString QAccessibleTable2Cell::text(Text t, int child) const void QAccessibleTable2Cell::setText(Text /*t*/, int child, const QString &text) { Q_ASSERT(child == 0); - if (!m_index.flags() & Qt::ItemIsEditable) + if (!(m_index.flags() & Qt::ItemIsEditable)) return; view->model()->setData(m_index, text); } -- cgit v0.12