Remove mention of Q_ASSERT from qheaderview autotest
Change-Id: I3a97411c0b53345bffbadb60a3e7caabfb0441d2 Task-number: QTBUG-17582 Reviewed-by: Rohan McGovern (cherry picked from commit a388e104febb131cd35438bbb1397eeab41d3ab8)
This commit is contained in:
parent
98f9513b6b
commit
35b01c1733
@ -1106,7 +1106,7 @@ void tst_QHeaderView::moveAndInsertSection()
|
||||
|
||||
void tst_QHeaderView::resizeMode()
|
||||
{
|
||||
// Q_ASSERT's when resizeMode is called with an invalid index
|
||||
// resizeMode must not be called with an invalid index
|
||||
int last = view->count() - 1;
|
||||
view->setResizeMode(QHeaderView::Interactive);
|
||||
QCOMPARE(view->resizeMode(last), QHeaderView::Interactive);
|
||||
|
Loading…
Reference in New Issue
Block a user