Merge branch 'master' into new_panels_with_context_buttons
[situare] / tests / ui / friendlistitem / testfriendlistitem.cpp
index 216c579..6b8a887 100644 (file)
@@ -103,12 +103,7 @@ void TestFriendListItem::toggleSelection()
     QVERIFY(subItems);
     QCOMPARE(subItems->count(), 3);
 
-    QCOMPARE(subItems->at(0)->textRect(), QRect(0, 0, 250, 66));
-    QCOMPARE(subItems->at(1)->textRect(), QRect(0, 0, 250, 22));
-    QCOMPARE(subItems->at(2)->textRect(), QRect(0, 0, 250, 44));
-
     friendListItem->toggleSelection();
-    QCOMPARE(friendListItem->data(ITEM_SIZE_HINT_INDEX).toSize(), QSize(368, 142 + 3 * 22));
     QCOMPARE(friendListItem->data(ITEM_EXPANDED_INDEX).toBool(), true);
 
     friendListItem->toggleSelection();