mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-05 00:35:27 +08:00
6.5.3 clean
This commit is contained in:
@ -2564,8 +2564,9 @@ void tst_QListView::taskQTBUG_58749_adjustToContent()
|
||||
// use the long text and make sure the width is adjusted.
|
||||
model.setData(model.index(0, 0), longText);
|
||||
QApplication::processEvents();
|
||||
QVERIFY(w.width() > longTextWidth);
|
||||
QVERIFY(view->width() >= longTextWidth);
|
||||
const QRect itemRect = view->visualRect(model.index(0, 0));
|
||||
QVERIFY(w.width() > itemRect.width());
|
||||
QCOMPARE_GE(view->width(), itemRect.width());
|
||||
}
|
||||
|
||||
void tst_QListView::taskQTBUG_51086_skippingIndexesInSelectedIndexes()
|
||||
|
Reference in New Issue
Block a user