diff -r 3738fe97f027 -r 8aed59de29f9 videocollection/tsrc/stubs/src/hbmainwindow.cpp --- a/videocollection/tsrc/stubs/src/hbmainwindow.cpp Thu Apr 01 23:32:44 2010 +0300 +++ b/videocollection/tsrc/stubs/src/hbmainwindow.cpp Fri Apr 16 18:13:14 2010 +0300 @@ -56,3 +56,15 @@ } return 0; } + +void HbMainWindow::setCurrentView(HbView *view) +{ + for(int i = 0; i < mViews.count(); i++) + { + if(mViews[i] == view) + { + mViews.takeAt(i); + } + } + mViews.prepend(view); +}