phoneuis/bubblemanager2/tsrc/unit/ut_bubbleparticipantlistitem/ut_bubbleparticipantlistitem.cpp
changeset 76 cfea66083b62
parent 46 bc5a64e5bc3c
child 78 baacf668fe89
equal deleted inserted replaced
74:d1c62c765e48 76:cfea66083b62
    52     mMainWindow->addView(mItem);
    52     mMainWindow->addView(mItem);
    53     BubbleParticipantListItem* item =
    53     BubbleParticipantListItem* item =
    54         static_cast<BubbleParticipantListItem*>(mItem);
    54         static_cast<BubbleParticipantListItem*>(mItem);
    55     item->updateChildItems();
    55     item->updateChildItems();
    56     mMainWindow->show();
    56     mMainWindow->show();
       
    57     QTest::qWait(300); // Give HbMainWindow time to complete show() function call.
    57 }
    58 }
    58 
    59 
    59 void ut_BubbleParticipantListItem::cleanupTestCase()
    60 void ut_BubbleParticipantListItem::cleanupTestCase()
    60 {
    61 {
    61     mItem->clearActions();
    62     mItem->clearActions();