summaryrefslogtreecommitdiff
path: root/tests/auto/widgets
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2011-11-11 17:25:30 +0100
committerQt by Nokia <qt-info@nokia.com>2011-11-15 18:33:58 +0100
commit3d063ecc5f07342108b415d9e17908373cdc9de2 (patch)
treee7b7cdabaef424a1740e373e82800382dd1dfbbe /tests/auto/widgets
parent5bc35276fb38385af4f1cd6b1a9ea7195a1d0d86 (diff)
downloadqtbase-3d063ecc5f07342108b415d9e17908373cdc9de2.tar.gz
Provide defaultFont with fontconfig db
So that it won't just return "Helvetica" that may not exist in target system. Providing it seems to fix QTBUG-21833 as well, thus we can remove the QEXPECT_FAIL statement in qlistview test. '_' appears to reach the minimum right bearing in some fonts. Task-number: QTBUG-21833 Change-Id: I2340af6ee736083ec4f6575e469840ebec4e545e Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
Diffstat (limited to 'tests/auto/widgets')
-rw-r--r--tests/auto/widgets/itemviews/qlistview/tst_qlistview.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/widgets/itemviews/qlistview/tst_qlistview.cpp b/tests/auto/widgets/itemviews/qlistview/tst_qlistview.cpp
index 10b4f4a875..b58a306f94 100644
--- a/tests/auto/widgets/itemviews/qlistview/tst_qlistview.cpp
+++ b/tests/auto/widgets/itemviews/qlistview/tst_qlistview.cpp
@@ -1869,7 +1869,6 @@ void tst_QListView::taskQTBUG_2233_scrollHiddenItems()
QApplication::processEvents();
QTest::qWait(50);
QCOMPARE(bar->value(), bar->maximum());
- QEXPECT_FAIL("LeftToRight", "QTBUG-21833", Abort);
QCOMPARE(bar->maximum(), rowCount/4 - nbVisibleItem);
}