Accessible widgets: Fix warning.

Change-Id: Iaf9b112db86a4238ef24f3c6341c83ab0f9ba217
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
This commit is contained in:
Friedemann Kleint 2011-11-23 10:22:21 +01:00 committed by Qt by Nokia
parent 7edb4bbcbc
commit e739ca0071

View File

@ -805,7 +805,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);
}