diff -r 4bfa887905cf -r d2b028fd1f7d videocollection/videocollectionview/tsrc/testcollectionview/src/testcollectionview.cpp --- a/videocollection/videocollectionview/tsrc/testcollectionview/src/testcollectionview.cpp Mon Aug 23 14:27:29 2010 +0300 +++ b/videocollection/videocollectionview/tsrc/testcollectionview/src/testcollectionview.cpp Fri Sep 03 12:37:43 2010 +0300 @@ -11,7 +11,7 @@ * * Contributors: * -* Description: tester for methods in VideoSortFilterProxyModel +* Description: tester for methods in VideoProxyModelGeneric * */ @@ -110,7 +110,8 @@ HbMainWindow *window = hbInstance->allMainWindows().value(0); if (window) { - window->addView(mTestView->getView()); + HbView *view = qobject_cast(mTestView->getView()); + window->addView(view); } } @@ -347,7 +348,6 @@ QApplication::sendEvent(mTestView, &timerEvent); QVERIFY(commandSpy.count() == 1); QVERIFY(delayedSpy.count() == 1); - } // ---------------------------------------------------------------------------