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
parent
4af257eb3c
commit
b490116f82
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue