Accessible widgets: Fix warning.
Change-Id: Iaf9b112db86a4238ef24f3c6341c83ab0f9ba217 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>bb10
parent
7edb4bbcbc
commit
e739ca0071
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue