equal
deleted
inserted
replaced
377 // now test updating of the widgets |
377 // now test updating of the widgets |
378 model->setData(model->index(0, 0), 2, Qt::EditRole); |
378 model->setData(model->index(0, 0), 2, Qt::EditRole); |
379 model->setData(model->index(0, 1), QString("read write item z"), Qt::EditRole); |
379 model->setData(model->index(0, 1), QString("read write item z"), Qt::EditRole); |
380 |
380 |
381 QCOMPARE(readOnlyBox.currentIndex(), 2); |
381 QCOMPARE(readOnlyBox.currentIndex(), 2); |
382 QEXPECT_FAIL("", "See tasks 125493 and 147153", Abort); |
382 QEXPECT_FAIL("", "See task 125493 and QTBUG-428", Abort); |
383 QCOMPARE(readWriteBox.currentText(), QString("read write item z")); |
383 QCOMPARE(readWriteBox.currentText(), QString("read write item z")); |
384 } |
384 } |
385 |
385 |
386 void tst_QDataWidgetMapper::mappedWidgetAt() |
386 void tst_QDataWidgetMapper::mappedWidgetAt() |
387 { |
387 { |