QNX: Fix QHeaderView autotest

Some margines and sizeHints are DPI dependent on QNX and BlackBerry.
This patch skips two test that expect the section size to be of a
certain pixel size.

Change-Id: I7869f77fc2b623e091f53e420d1a4fdb3ec30724
Reviewed-by: Bernd Weimer <bweimer@blackberry.com>
Reviewed-by: Sergio Ahumada <sahumada@blackberry.com>
bb10
Fabian Bumberger 2014-04-02 23:21:24 +02:00 committed by The Qt Project
parent 4af257eb3c
commit b490116f82
1 changed files with 6 additions and 0 deletions

View File

@ -621,6 +621,9 @@ void tst_QHeaderView::sectionSize_data()
void tst_QHeaderView::sectionSize()
{
#if defined Q_OS_QNX
QSKIP("The section size is dpi dependent on QNX");
#endif
QFETCH(QList<int>, boundsCheck);
QFETCH(QList<int>, defaultSizes);
QFETCH(int, initialDefaultSize);
@ -734,6 +737,9 @@ void tst_QHeaderView::visualIndexAt_data()
void tst_QHeaderView::visualIndexAt()
{
#if defined Q_OS_QNX
QSKIP("The section size is dpi dependent on QNX");
#endif
QFETCH(QList<int>, hidden);
QFETCH(QList<int>, from);
QFETCH(QList<int>, to);