summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@nokia.com>2012-03-05 12:51:22 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-03-05 21:29:35 (GMT)
commitf13ddea169d2dabb76903ed340bd8935792498c7 (patch)
tree77ffd085ad6bbdffb41ade8b8892b01468bca8ec
parenta7561f5561d8aa544f438bffb770cbc35c3c7e0f (diff)
downloadQt-f13ddea169d2dabb76903ed340bd8935792498c7.zip
Qt-f13ddea169d2dabb76903ed340bd8935792498c7.tar.gz
Qt-f13ddea169d2dabb76903ed340bd8935792498c7.tar.bz2
Fixed missing parentheses
Change-Id: Ic0a2f9bb6a1d59261240fc0de85d6db52974c964 Reviewed-by: João Abecasis <joao.abecasis@nokia.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
-rw-r--r--src/plugins/accessible/widgets/itemviews.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}