Fix a typo in tst_qtreewidget autotest.
Change-Id: I573467c3fdfc4b3d059b216258d39944ac546061 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
This commit is contained in:
parent
6b85acd515
commit
389fc8885b
@ -1838,7 +1838,7 @@ void tst_QTreeWidget::setData()
|
||||
item->setBackground(j, backgroundColor);
|
||||
QCOMPARE(itemChangedSpy.count(), 0);
|
||||
|
||||
QColor textColor((i == i) ? Qt::green : Qt::cyan);
|
||||
QColor textColor((i == 1) ? Qt::green : Qt::cyan);
|
||||
item->setTextColor(j, textColor);
|
||||
QCOMPARE(item->textColor(j), textColor);
|
||||
QCOMPARE(itemChangedSpy.count(), 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user